mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Fixed graphs for services not working (#5569)
This commit is contained in:
committed by
Neil Lathwood
parent
d526a16042
commit
e53503c544
@@ -152,7 +152,7 @@ function poll_service($service)
|
||||
$DS[$k] = $v['uom'];
|
||||
}
|
||||
d_echo("Service DS: "._json_encode($DS)."\n");
|
||||
if ($service['service_ds'] == "") {
|
||||
if (($service['service_ds'] == "{}") || ($service['service_ds'] == "")) {
|
||||
$update['service_ds'] = json_encode($DS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user