From 111f482e53c6d0251744708c8b6b67a86ab275d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Sun, 6 Oct 2019 22:12:53 +0200 Subject: [PATCH] Improve notifications --- pkg/controller/jenkins/notifications/slack.go | 1 - pkg/controller/jenkins/notifications/slack_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/controller/jenkins/notifications/slack.go b/pkg/controller/jenkins/notifications/slack.go index 062a61e6..6468e528 100644 --- a/pkg/controller/jenkins/notifications/slack.go +++ b/pkg/controller/jenkins/notifications/slack.go @@ -86,7 +86,6 @@ func (s Slack) Send(event Event, config v1alpha2.Notification) error { Short: true, }, }, - Footer: footerContent, }, }, } diff --git a/pkg/controller/jenkins/notifications/slack_test.go b/pkg/controller/jenkins/notifications/slack_test.go index b32283a6..fa5b6c94 100644 --- a/pkg/controller/jenkins/notifications/slack_test.go +++ b/pkg/controller/jenkins/notifications/slack_test.go @@ -63,7 +63,7 @@ func TestSlack_Send(t *testing.T) { } } - assert.Equal(t, mainAttachment.Footer, footerContent) + assert.Equal(t, mainAttachment.Footer, "") assert.Equal(t, mainAttachment.Color, slack.getStatusColor(event.LogLevel)) }))