[Portworx] Add backup id to spec when checking status
@@ -2550,10 +2550,10 @@ func (p *portworx) GetBackupStatus(backup *storkapi.ApplicationBackup) ([]*stork
vInfo.Status = storkapi.ApplicationBackupStatusFailed
vInfo.Reason = fmt.Sprintf("Backup failed for volume: %v", csStatus.msg)
} else {
- vInfo.BackupID = csStatus.cloudSnapID
vInfo.Status = storkapi.ApplicationBackupStatusSuccessful
vInfo.Reason = "Backup successful for volume"
}
+ vInfo.BackupID = csStatus.cloudSnapID
volumeInfos = append(volumeInfos, vInfo)
}
