mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-23 09:16:09 +01:00
make notify log hook opt-in
This commit is contained in:
parent
102566032a
commit
f817098cd5
5 changed files with 22 additions and 14 deletions
|
|
@ -139,6 +139,7 @@ func PreRun(cmd *cobra.Command, _ []string) {
|
|||
})
|
||||
|
||||
notifier = notifications.NewNotifier(cmd)
|
||||
notifier.AddLogHook()
|
||||
}
|
||||
|
||||
// Run is the main execution flow of the command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue