Browse Source

Merge "Failure status should be set on 0 rather than 1" into stable/train

changes/13/761413/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
1309c809a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      container_config_scripts/monitoring/collectd_check_health.py

+ 1
- 1
container_config_scripts/monitoring/collectd_check_health.py View File

@@ -59,7 +59,7 @@ def process_healthcheck_output(logfile):

ret_code, output = 0, []
for _, opt in data.items():
if opt['healthy'] > 0 and ret_code != 2:
if opt['healthy'] < 1 and ret_code != 2:
ret_code = 2
output.append(opt)
return ret_code, output


Loading…
Cancel
Save