Added UID field to fdbbackup status --json output.

This commit is contained in:
Stephen Atherton 2019-05-16 17:23:33 -07:00
parent 1d67cbdc6d
commit 7b8e140788
1 changed files with 2 additions and 0 deletions

View File

@ -3928,6 +3928,8 @@ public:
doc.setKey("Tag", tag.tagName);
if(uidAndAbortedFlag.present()) {
doc.setKey("UID", uidAndAbortedFlag.get().first.toString().c_str());
state BackupConfig config(uidAndAbortedFlag.get().first);
state EBackupState backupState = wait(config.stateEnum().getD(tr, false, EBackupState::STATE_NEVERRAN));