Skip to content

Commit

Permalink
fix influx upgrade issue (kizniche#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Nov 27, 2022
1 parent 76d6d01 commit c3097e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mycodo/scripts/measurement_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def get_influxdb_host(settings):
]
for host in list_hosts:
try:
print(f"Trying host: {host}")
if requests.get(f"http://{host}:8086/ping").status_code == 204:
return host
except Exception as err:
Expand Down

0 comments on commit c3097e7

Please sign in to comment.