mirror of
https://github.com/jcwimer/openstack-exporter
synced 2026-03-24 17:44:42 +00:00
Fix bug with horizon status
This commit is contained in:
@@ -70,7 +70,7 @@ def get_metrics(horizon_url,cloud_name):
|
||||
api_status.labels(cloud_name).set(1)
|
||||
except:
|
||||
print("Timed out waiting for login to load")
|
||||
api_status.labels(cloud_name).set(1)
|
||||
api_status.labels(cloud_name).set(0)
|
||||
|
||||
finally:
|
||||
driver.quit()
|
||||
Reference in New Issue
Block a user