mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-20 22:24:07 +01:00
use combined flags for notifications
This commit is contained in:
parent
f817098cd5
commit
7579740d38
4 changed files with 4 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ type gotifyTypeNotifier struct {
|
|||
}
|
||||
|
||||
func newGotifyNotifier(c *cobra.Command, levels []log.Level) t.ConvertibleNotifier {
|
||||
flags := c.PersistentFlags()
|
||||
flags := c.Flags()
|
||||
|
||||
apiURL := getGotifyURL(flags)
|
||||
token := getGotifyToken(flags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue