Skip to content

Commit 1f622b7

Browse files
author
Anze
committed
Display URL in log while waiting for Grafolean
1 parent 5b634b3 commit 1f622b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snmpbot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ def jobs(self):
428428

429429

430430
def wait_for_grafolean(backend_url):
431+
url = '{}/status/info'.format(backend_url)
431432
while True:
432-
url = '{}/status/info'.format(backend_url)
433433
log.info("Checking Grafolean status...")
434434
try:
435435
r = requests.get(url)
@@ -440,7 +440,7 @@ def wait_for_grafolean(backend_url):
440440
return
441441
except:
442442
pass
443-
log.info("Grafolean backend not available / initialized yet, waiting.")
443+
log.info(f"Grafolean backend (url: {url}) not available / initialized yet, waiting.")
444444
time.sleep(10)
445445

446446

0 commit comments

Comments
 (0)