mirror of
https://github.com/jcwimer/openstack-exporter
synced 2026-03-25 01:44:43 +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)
|
api_status.labels(cloud_name).set(1)
|
||||||
except:
|
except:
|
||||||
print("Timed out waiting for login to load")
|
print("Timed out waiting for login to load")
|
||||||
api_status.labels(cloud_name).set(1)
|
api_status.labels(cloud_name).set(0)
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
driver.quit()
|
driver.quit()
|
||||||
Reference in New Issue
Block a user