We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e7b47 commit 6f60ec3Copy full SHA for 6f60ec3
templates/healthcheck.py
@@ -3,7 +3,7 @@
3
import os
4
5
6
-BASE_URL= "http://localhost" + os.getenv('HOSTNAME') + ":" + os.getenv('PI_PORT') + "/healthz/"
+BASE_URL= "http://" + os.getenv('HOSTNAME') + ":" + os.getenv('PI_PORT') + "/healthz/"
7
8
response = requests.get(BASE_URL)
9
assert response.status_code == 200, "Unexpected status code: " + str(response.status_code)
0 commit comments