tech(alerting): remove some logging

This commit is contained in:
bergquist
2016-06-27 01:27:30 +02:00
parent 4ed6b99d9a
commit 6bf42dde18
3 changed files with 1 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ func GetLastAlertStateQuery(cmd *m.GetLastAlertStateQuery) error {
if len(states) == 0 {
cmd.Result = nil
return fmt.Errorf("invalid amount of alertstates. Expected 1 got %v", len(states))
return nil
}
cmd.Result = &states[0]