Adjust flags

This commit is contained in:
Maximilian Brandau 2020-03-23 13:53:30 +01:00
parent 2b21bd46be
commit 59ce378a35
No known key found for this signature in database
GPG key ID: 6CBA8C2AC22BA157
3 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ type shoutrrrTypeNotifier struct {
func newShoutrrrNotifier(c *cobra.Command, acceptedLogLevels []log.Level) t.Notifier {
flags := c.PersistentFlags()
urls, _ := flags.GetStringArray("notification-shoutrrr-url")
urls, _ := flags.GetStringArray("notification-url")
n := &shoutrrrTypeNotifier{
Urls: urls,