diff --git a/utils/convert.go b/utils/convert.go index d9ac127b..014924fb 100644 --- a/utils/convert.go +++ b/utils/convert.go @@ -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" } }