mirror of https://github.com/statping/statping
Merge branch 'master' into feature/status_updates
commit
a3ef0bc016
|
@ -92,7 +92,8 @@ func (u *lineNotifier) OnSuccess(s *types.Service) {
|
||||||
|
|
||||||
// OnSave triggers when this notifier has been saved
|
// OnSave triggers when this notifier has been saved
|
||||||
func (u *lineNotifier) OnSave() error {
|
func (u *lineNotifier) OnSave() error {
|
||||||
utils.Log(1, fmt.Sprintf("Notification %v is receiving updated information.", u.Method))
|
msg := fmt.Sprintf("Notification %v is receiving updated information.", u.Method)
|
||||||
// Do updating stuff here
|
utils.Log(1, msg)
|
||||||
|
u.AddQueue("saved", message)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue