2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-07-18 08:26:50 +00:00

Merge pull request #240 from Obihoernchen/enos

Reuse ENOS health data
This commit is contained in:
Jarrod Johnson
2026-07-14 07:50:56 -04:00
committed by GitHub
@@ -326,7 +326,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"]: