We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72d5af6 commit c6d157dCopy full SHA for c6d157d
cleanup_watcher.py
@@ -3,8 +3,6 @@
3
import requests
4
from google.cloud import run_v2
5
6
-for name, value in os.environ.items():
7
- print("{0}: {1}".format(name, value))
8
9
PARENT = os.getenv("PARENT")
10
SERVICE_NAME = os.getenv("K_SERVICE")
@@ -25,7 +23,9 @@ def delete_service():
25
23
time.sleep(30)
26
24
try:
27
response = requests.get("http://127.0.0.1/geode/health", timeout=5)
28
- print("response", response.data)
+ print("response", response, flush=True)
+ print("response.status_code", response.status_code, flush=True)
+ print("response.data", response.data, flush=True)
29
if response.status_code != 200 or response.data.health == False:
30
raise Exception("Bad status")
31
except Exception:
0 commit comments