From b67996880a1d149e69b15b3c7271558cd3310636 Mon Sep 17 00:00:00 2001 From: Jakub Al-Khalili Date: Tue, 1 Oct 2019 10:14:13 +0200 Subject: [PATCH] Fix slack notifications --- pkg/controller/jenkins/notifications/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/jenkins/notifications/slack.go b/pkg/controller/jenkins/notifications/slack.go index a48cfd49..d1081fcb 100644 --- a/pkg/controller/jenkins/notifications/slack.go +++ b/pkg/controller/jenkins/notifications/slack.go @@ -91,7 +91,7 @@ func (s Slack) Send(event Event, config v1alpha2.Notification) error { }, } - mainAttachment := sm.Attachments[0] + mainAttachment := &sm.Attachments[0] mainAttachment.Title = notificationTitle(event)