Fixed get tag

This commit is contained in:
Pierre
2016-03-17 14:15:19 +01:00
parent e760e868c1
commit 052c974369

View File

@@ -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