Skip to content

Commit 6f60ec3

Browse files
committed
- fixed healthcheck.py
1 parent 73e7b47 commit 6f60ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/healthcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44

55

6-
BASE_URL= "http://localhost" + os.getenv('HOSTNAME') + ":" + os.getenv('PI_PORT') + "/healthz/"
6+
BASE_URL= "http://" + os.getenv('HOSTNAME') + ":" + os.getenv('PI_PORT') + "/healthz/"
77

88
response = requests.get(BASE_URL)
99
assert response.status_code == 200, "Unexpected status code: " + str(response.status_code)

0 commit comments

Comments
 (0)