mirror of
https://github.com/pcvolkmer/checkbar.git
synced 2025-04-19 11:06:50 +00:00
Use 'UP' as actuator status response
This commit is contained in:
parent
1b4b8fa2a3
commit
e3695573b3
@ -86,7 +86,7 @@ async fn check_host(check_config: &CheckConfig) -> CheckResult {
|
||||
match check_config.check_type {
|
||||
Some(CheckType::Actuator) => match r.json::<ActuatorResponse>().await {
|
||||
Ok(ar) => {
|
||||
if ar.status == "OK" {
|
||||
if ar.status == "UP" {
|
||||
CheckState::Up
|
||||
} else {
|
||||
CheckState::Warn
|
||||
|
Loading…
x
Reference in New Issue
Block a user