Correct invalid variable name

This commit is contained in:
Joshua Boniface 2019-10-22 12:18:51 -04:00
parent 4bff533571
commit e7129f0158
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def getClusterInformation(zk_conn):
ceph_osd_healthy_status[index] = True
up_texts = { 1: 'up', 0: 'down' }
in_texts = { 1: 'in', 0: 'out' }
ceph_osd_report_status[index] = up_texts[osd_up] + ',' + in_texts[osd_in]
ceph_osd_report_status[index] = up_texts[ceph_osd_up] + ',' + in_texts[ceph_osd_in]
# Find out the overall cluster health; if any element of a healthy_status is false, it's unhealthy
if False in node_healthy_status or False in vm_healthy_status or False in ceph_osd_healthy_status: