We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9616ad6 + 19fcd17 commit d5d7441Copy full SHA for d5d7441
1 file changed
lib/server/kafka/AliEcsSynchronizer.js
@@ -91,7 +91,7 @@ class AliEcsSynchronizer {
91
eorReasons.push({
92
category: 'LHC',
93
title: 'Dump',
94
- description: 'Run stopped due to LHC dump',
+ description: 'Automatic stop of run by ECS due to LHC dump',
95
});
96
}
97
runService
@@ -101,7 +101,7 @@ class AliEcsSynchronizer {
101
{ timeO2End: timestamp.toNumber() },
102
{
103
userO2Stop: { userIdentifier: { externalUserId }, name: userName },
104
- eorReasons,
+ ...eorReasons?.length > 0 ? { eorReasons } : {},
105
},
106
)
107
.catch((error) => this._logger.errorMessage(`Failed to save run end for ${runNumber}: ${error.message}`));
0 commit comments