We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33a2ae commit 72d5af6Copy full SHA for 72d5af6
cleanup_watcher.py
@@ -25,8 +25,8 @@ def delete_service():
25
time.sleep(30)
26
try:
27
response = requests.get("http://127.0.0.1/geode/health", timeout=5)
28
- print("response", response)
29
- if response.status_code != 200:
+ print("response", response.data)
+ if response.status_code != 200 or response.data.health == False:
30
raise Exception("Bad status")
31
except Exception:
32
delete_service()
0 commit comments