fix: tag needs to be assigned directly before using it
This commit is contained in:
parent
98b4270703
commit
196aac4cec
|
@ -3503,8 +3503,8 @@ public:
|
|||
|
||||
statusText = "";
|
||||
tag = makeBackupTag(tagName);
|
||||
state Future<Optional<Value>> fDisabled = tr->get(backupAgent->taskBucket->getDisableKey());
|
||||
state Optional<UidAndAbortedFlagT> uidAndAbortedFlag = wait(tag.get(tr));
|
||||
state Future<Optional<Value>> fDisabled = tr->get(backupAgent->taskBucket->getDisableKey());
|
||||
if (uidAndAbortedFlag.present()) {
|
||||
config = BackupConfig(uidAndAbortedFlag.get().first);
|
||||
EBackupState status = wait(config.stateEnum().getD(tr, EBackupState::STATE_NEVERRAN));
|
||||
|
|
Loading…
Reference in New Issue