mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 22:20:12 +01:00
Add Slack Channel, IconEmoji, and IconURL options (#241)
This commit is contained in:
parent
ebb416819c
commit
da41afc1d7
3 changed files with 26 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ func newSlackNotifier(c *cli.Context, acceptedLogLevels []log.Level) typeNotifie
|
|||
SlackrusHook: slackrus.SlackrusHook{
|
||||
HookURL: c.GlobalString("notification-slack-hook-url"),
|
||||
Username: c.GlobalString("notification-slack-identifier"),
|
||||
Channel: c.GlobalString("notification-slack-channel"),
|
||||
IconEmoji: c.GlobalString("notification-slack-icon-emoji"),
|
||||
IconURL: c.GlobalString("notification-slack-icon-url"),
|
||||
AcceptedLevels: acceptedLogLevels,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue