Commit 3c64eded authored by MaxSol1's avatar MaxSol1
Browse files

fixed worst state bug

parent c95a8a61
......@@ -37,9 +37,9 @@ export function icingaResultCodeToCheckState(checkType, resultCode) {
} else if(checkType === 'host') {
switch(resultCode){
case 0: return 'up';
case 1: return 'up';
case 2: return 'down';
case 3: return 'down';
case 0: return 'up';
case 1: return 'down';
case 1: return 'down';
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment