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{}
|
||||
success = notifier.Open(notifierPath)
|
||||
break
|
||||
}
|
||||
case "shoutrrr":
|
||||
{
|
||||
notifier = ¬ifiers.ShoutrrrNotifier{}
|
||||
success = notifier.Open(notifierPath)
|
||||
break
|
||||
}
|
||||
case "apprise":
|
||||
{
|
||||
notifier = ¬ifiers.AppriseNotifier{}
|
||||
success = notifier.Open(notifierPath)
|
||||
break
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue