Improve notifications

This commit is contained in:
Tomasz Sęk 2019-10-06 22:12:53 +02:00
parent 9e882d5853
commit 111f482e53
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ func (s Slack) Send(event Event, config v1alpha2.Notification) error {
Short: true, Short: true,
}, },
}, },
Footer: footerContent,
}, },
}, },
} }

View File

@ -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)) assert.Equal(t, mainAttachment.Color, slack.getStatusColor(event.LogLevel))
})) }))