Update fdbserver/FDBExecHelper.actor.cpp

Co-Authored-By: Jingyu Zhou <jingyuzhou@gmail.com>
This commit is contained in:
Andrew Noyes 2019-10-24 15:56:22 -07:00
parent e4acd2e318
commit 1827e77f2e
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ ACTOR Future<int> spawnProcess(std::string binPath, std::vector<std::string> par
#endif
ACTOR Future<int> execHelper(ExecCmdValueString* execArg, UID snapUID, std::string folder, std::string role) {
state Standalone<StringRef> uidStr = Standalone<StringRef>(snapUID.toString());
state Standalone<StringRef> uidStr(snapUID.toString());
state int err = 0;
state Future<int> cmdErr;
state double maxWaitTime = SERVER_KNOBS->SNAP_CREATE_MAX_TIMEOUT;