2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-04 12:07:58 +00:00

Reuse ENOS health data

This commit is contained in:
Markus Hilger
2026-07-13 06:47:20 +02:00
parent 090a887ed9
commit 686fef6730
@@ -328,7 +328,7 @@ def retrieve_health(configmanager, creds, node, results, element):
switch = gather_data(configmanager, creds, node)
badreadings = []
summary = "ok"
sensors = gather_data(configmanager, creds, node)["sensors"]
sensors = switch["sensors"]
for sensor in sensors:
if sensor.health not in ["ok"]: