Skip to content

Commit e74a5a5

Browse files
[patch] return getThreadConfigMap in 1st time message creation
1 parent 9065502 commit e74a5a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/mas-devops-notify-slack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def notifyPipelineStart(channels: list[str], instanceId: str | None = None, pipe
123123
channelId = response["channel"]
124124
# Store thread information in ConfigMap
125125
SlackUtil.createThreadConfigMap(namespace, channelId, threadId, instanceId)
126-
return True
126+
return SlackUtil.getThreadConfigMap(namespace, instanceId)
127127
else:
128128
print("Failed to send pipeline start Slack message")
129129
return False

0 commit comments

Comments
 (0)