summaryrefslogtreecommitdiff
path: root/lorry-controller-webapp
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-07 01:02:45 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-13 19:20:05 +0100
commit0cc8dff0f435df5d445dd6253a5d1dbfd8d159d1 (patch)
tree5a5a27fdd1e618fc196e6901cab1e8fee2b8e967 /lorry-controller-webapp
parentdddd2e37953d795e4004b1d2722c25ec652135ad (diff)
downloadlorry-controller-0cc8dff0f435df5d445dd6253a5d1dbfd8d159d1.tar.gz
Create extra setting to publish lorry failures
Diffstat (limited to 'lorry-controller-webapp')
-rwxr-xr-xlorry-controller-webapp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp
index 7d4479c..7a3e3b5 100755
--- a/lorry-controller-webapp
+++ b/lorry-controller-webapp
@@ -138,6 +138,10 @@ class WEBAPP(cliapp.Application):
['gitlab-private-token'],
'private token for GitLab API access')
+ self.settings.boolean(
+ ['publish-failures'],
+ 'make the status page show failure logs from lorry')
+
def find_routes(self):
'''Return all classes that are API routes.