Skip to content

Commit

Permalink
remove startedBy
Browse files Browse the repository at this point in the history
  • Loading branch information
svonworl committed Jan 18, 2024
1 parent 4799837 commit 3f992c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud-watch-to-slack-testing/deployment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function ecsTaskStateChangeMessageText(message) {
const lastStatus = message?.detail?.lastStatus;
let messageText = `Task ${taskArn} is now ${lastStatus}`;
if (message?.detail != undefined) {
["startedAt", "startedBy", "stoppedAt", "stoppedReason"].forEach((name) => {
["startedAt", "stoppedAt", "stoppedReason"].forEach((name) => {
const value = message?.detail[name];
if (value != undefined) {
messageText += `\n${name}: ${value}`;
Expand Down

0 comments on commit 3f992c8

Please sign in to comment.