validation endpoint implementation #7

Merged
tux merged 19 commits from experiments-cerberus into master 2021-01-05 14:34:02 +01:00
Showing only changes of commit 68686fd3ca - Show all commits

3
app.py
View file

@ -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