소스 검색

update slack notif text

Alexander Belanger 4 년 전
부모
커밋
9af73d0e72
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/integrations/slack/incidents_notifier.go

+ 1 - 1
internal/integrations/slack/incidents_notifier.go

@@ -97,7 +97,7 @@ func (s *IncidentsNotifier) NotifyResolved(incident *porter_agent.Incident, url
 		getMarkdownBlock(fmt.Sprintf("*Namespace:* %s", "`"+namespace+"`")),
 		getMarkdownBlock(fmt.Sprintf("*Name:* %s", "`"+incident.ReleaseName+"`")),
 		getMarkdownBlock(fmt.Sprintf(
-			"*Created at:* <!date^%d^Alerted at {date_num} {time_secs}|Alerted at %s>",
+			"*Created at:* <!date^%d^ {date_num} {time_secs}| %s>",
 			createdAt.Unix(),
 			createdAt.Format("2006-01-02 15:04:05 UTC"),
 		)),