Skip to content

Commit 72d5af6

Browse files
committed
test
1 parent a33a2ae commit 72d5af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cleanup_watcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def delete_service():
2525
time.sleep(30)
2626
try:
2727
response = requests.get("http://127.0.0.1/geode/health", timeout=5)
28-
print("response", response)
29-
if response.status_code != 200:
28+
print("response", response.data)
29+
if response.status_code != 200 or response.data.health == False:
3030
raise Exception("Bad status")
3131
except Exception:
3232
delete_service()

0 commit comments

Comments
 (0)