Commit 6c9f2695 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Hip hop

parent 3ac00a5f
Pipeline #29784 passed with stages
in 41 seconds
......@@ -24,7 +24,7 @@ def hip():
r = ""
url = f"http://{ service }-{ tier + 1 }/hip"
try:
r = requests.get(url).content
r = requests.get(url).content.decode('utf-8')
except Exception as ex:
logging.error(f"Fetching { url } failed ({ ex })")
r = "END"
......@@ -33,7 +33,6 @@ def hip():
return f"{hip} hop-{ tier } -> { r }".strip()
# This is just to demonstrate the power and pitfalls of centralized
# consolidated logging.
if tier <= 1:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment