mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 14:10:12 +01:00
add slackrus slack notifications
This commit is contained in:
parent
d989254b1a
commit
fd7f8a40ed
6 changed files with 95 additions and 10 deletions
|
|
@ -26,6 +26,8 @@ func NewNotifier(c *cli.Context) *Notifier {
|
|||
switch t {
|
||||
case emailType:
|
||||
tn = newEmailNotifier(c)
|
||||
case slackType:
|
||||
tn = newSlackNotifier(c)
|
||||
default:
|
||||
log.Fatalf("Unknown notification type %q", t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue