Fix the way to get tagName

This commit is contained in:
Yichi Chiang 2018-05-03 11:11:44 -07:00
parent e5320fa237
commit c37b48308e
1 changed files with 2 additions and 1 deletions

View File

@ -834,7 +834,8 @@ namespace fileBackup {
static StringRef name;
ACTOR static Future<Void> _finish(Reference<ReadYourWritesTransaction> tr, Reference<TaskBucket> taskBucket, Reference<FutureBucket> futureBucket, Reference<Task> task) {
state FileBackupAgent backupAgent;
state std::string tagName = task->params[BackupAgentBase::keyConfigBackupTag].toString();
state BackupConfig config(task);
state std::string tagName = wait(config.tag().getOrThrow(tr));
TEST(true); // Canceling 5.1 backup task