Fix wrong state type convertion

This commit is contained in:
Noah Hilverling 2019-11-04 17:03:30 +01:00
parent f92b2ecee2
commit 746a1f035c

View file

@ -102,9 +102,9 @@ func NotificationTypesToBitMask(types []string) int {
func IcingaStateTypeToString(stateType float32) string {
if stateType == 0 {
return "hard"
} else {
return "soft"
} else {
return "hard"
}
}