Update service_status to handle both Icom and Arma service kinds
This commit is contained in:
parent
b1ba7dcbfa
commit
8cbdf52ae7
@ -756,7 +756,7 @@ fn service_status(
|
|||||||
};
|
};
|
||||||
let pid = slot.as_ref().map(|managed| managed.child.id());
|
let pid = slot.as_ref().map(|managed| managed.child.id());
|
||||||
|
|
||||||
let (healthy, ping_ms) = if matches!(kind, ServiceKind::Icom) {
|
let (healthy, ping_ms) = if matches!(kind, ServiceKind::Icom | ServiceKind::Arma) {
|
||||||
if running {
|
if running {
|
||||||
(true, Some(0))
|
(true, Some(0))
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user