Skip to content

Commit bef352f

Browse files
committed
test
1 parent 1822c05 commit bef352f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

cleanup_watcher.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,7 @@ def delete_service():
2424
try:
2525
response = requests.get("http://127.0.0.1/geode/health", timeout=5)
2626
print("response", response, flush=True)
27-
print(
28-
"response.status_code",
29-
response.status_code,
30-
response.status_code != 200,
31-
flush=True,
32-
)
33-
print("response.data", response.get_data(), flush=True)
34-
print("response.data", response.data, flush=True)
35-
print("response.data.health", response.data.health, flush=True)
36-
if response.status_code != 200 or response.data.health == False:
27+
if response.status_code != 200:
3728
raise Exception("Bad status")
3829
except Exception:
3930
delete_service()

0 commit comments

Comments
 (0)