mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Documentation: Fix error in Access Object Attributes at Runtime example
fixes #10528 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
parent
81c3b4d1d4
commit
7ecc6f782e
@ -411,7 +411,7 @@ cluster state and output:
|
|||||||
if (up_count >= down_count) {
|
if (up_count >= down_count) {
|
||||||
return 0 //same up as down -> UP
|
return 0 //same up as down -> UP
|
||||||
} else {
|
} else {
|
||||||
return 1 //something is broken
|
return 2 //something is broken
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user