Skip to content

Commit d5d7441

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/js-yaml-4.1.1
2 parents 9616ad6 + 19fcd17 commit d5d7441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/server/kafka/AliEcsSynchronizer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class AliEcsSynchronizer {
9191
eorReasons.push({
9292
category: 'LHC',
9393
title: 'Dump',
94-
description: 'Run stopped due to LHC dump',
94+
description: 'Automatic stop of run by ECS due to LHC dump',
9595
});
9696
}
9797
runService
@@ -101,7 +101,7 @@ class AliEcsSynchronizer {
101101
{ timeO2End: timestamp.toNumber() },
102102
{
103103
userO2Stop: { userIdentifier: { externalUserId }, name: userName },
104-
eorReasons,
104+
...eorReasons?.length > 0 ? { eorReasons } : {},
105105
},
106106
)
107107
.catch((error) => this._logger.errorMessage(`Failed to save run end for ${runNumber}: ${error.message}`));

0 commit comments

Comments
 (0)