mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Fix wrong state type convertion
This commit is contained in:
parent
f92b2ecee2
commit
746a1f035c
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue