validation endpoint implementation #7
1 changed files with 1 additions and 2 deletions
3
app.py
3
app.py
|
@ -38,8 +38,7 @@ class HealthHandler(tornado.web.RequestHandler, metaclass=ABCMeta):
|
|||
v = subprocess.check_output(["git", "describe", "--always", "--dirty"],
|
||||
cwd=os.path.dirname(__file__)).strip().decode()
|
||||
except subprocess.CalledProcessError as e:
|
||||
print("Checking git version lead to non-null return code ",
|
||||
e.returncode)
|
||||
print("Checking git version lead to non-null return code ", e.returncode)
|
||||
|
||||
return v
|
||||
|
||||
|
|
Loading…
Reference in a new issue