added missing break statements in notifier loading loop
This commit is contained in:
parent
32900ee652
commit
e0a833a813
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -195,16 +195,19 @@ func (web *Web) initNotifiers() {
|
||||||
{
|
{
|
||||||
notifier = ¬ifiers.EmailNotifier{}
|
notifier = ¬ifiers.EmailNotifier{}
|
||||||
success = notifier.Open(notifierPath)
|
success = notifier.Open(notifierPath)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
case "shoutrrr":
|
case "shoutrrr":
|
||||||
{
|
{
|
||||||
notifier = ¬ifiers.ShoutrrrNotifier{}
|
notifier = ¬ifiers.ShoutrrrNotifier{}
|
||||||
success = notifier.Open(notifierPath)
|
success = notifier.Open(notifierPath)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
case "apprise":
|
case "apprise":
|
||||||
{
|
{
|
||||||
notifier = ¬ifiers.AppriseNotifier{}
|
notifier = ¬ifiers.AppriseNotifier{}
|
||||||
success = notifier.Open(notifierPath)
|
success = notifier.Open(notifierPath)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue