Fixed get tag
This commit is contained in:
@@ -120,7 +120,7 @@ class BackupReportsXoPlugin {
|
||||
const start = moment(status.start)
|
||||
const end = moment(status.end)
|
||||
const duration = moment.duration(end - start).humanize()
|
||||
const tag = status.calls[status.start].params.tag
|
||||
const tag = status.calls[Object.keys(status.calls)[0]].params.tag
|
||||
|
||||
if (reportWhen === 'fail' && globalStatus === 'Success') {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user