Skip to content

Commit c6d157d

Browse files
committed
test
1 parent 72d5af6 commit c6d157d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cleanup_watcher.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import requests
44
from google.cloud import run_v2
55

6-
for name, value in os.environ.items():
7-
print("{0}: {1}".format(name, value))
86

97
PARENT = os.getenv("PARENT")
108
SERVICE_NAME = os.getenv("K_SERVICE")
@@ -25,7 +23,9 @@ def delete_service():
2523
time.sleep(30)
2624
try:
2725
response = requests.get("http://127.0.0.1/geode/health", timeout=5)
28-
print("response", response.data)
26+
print("response", response, flush=True)
27+
print("response.status_code", response.status_code, flush=True)
28+
print("response.data", response.data, flush=True)
2929
if response.status_code != 200 or response.data.health == False:
3030
raise Exception("Bad status")
3131
except Exception:

0 commit comments

Comments
 (0)