Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server-monitor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
server-monitor
Commits
bf1313cf
There was an error fetching the commit references. Please try again later.
Verified
Commit
bf1313cf
authored
5 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
bug fix.
parent
34ff03cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
status.html.gen.py
+2
-1
2 additions, 1 deletion
status.html.gen.py
with
2 additions
and
1 deletion
status.html.gen.py
+
2
−
1
View file @
bf1313cf
...
...
@@ -107,7 +107,8 @@ from datafile import *
# ('Reverse Proxy', 'green')
# ]
# Everything currently working
all_ok
=
reduce
((
lambda
x
,
y
:
(
''
,
x
[
1
]
if
x
[
1
]
==
y
[
1
]
else
'
shit
'
)),
current_status
)[
1
]
==
'
green
'
all_ok
=
len
(
list
(
filter
(
lambda
x
:
x
[
1
]
!=
'
green
'
and
x
[
1
]
!=
'
blue
'
,
current_status
)))
==
0
if
all_ok
:
all_ok_text
=
get_section_with_vars
(
sections
[
'
all_ok
'
],
{})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment