removed unneeded log statements
This commit is contained in:
parent
9ced8e75f2
commit
1793a04892
1 changed files with 1 additions and 2 deletions
|
@ -752,8 +752,6 @@ func notifyFilter(filters []Filter, filter *Filter, watch *Watch, web *Web, debu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !haveResults {
|
if !haveResults {
|
||||||
filter.log("No output from previous filter(s), need at least 1 to 'trigger'")
|
|
||||||
log.Println("No output from previous filter(s), need at least 1 to 'trigger'")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
tmpl, err := template.New("notify").Parse(filter.Var1)
|
tmpl, err := template.New("notify").Parse(filter.Var1)
|
||||||
|
@ -777,6 +775,7 @@ func notifyFilter(filters []Filter, filter *Filter, watch *Watch, web *Web, debu
|
||||||
} else {
|
} else {
|
||||||
web.notify(buffer.String())
|
web.notify(buffer.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func triggerSchedule(watchID uint, web *Web) {
|
func triggerSchedule(watchID uint, web *Web) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue