1
0

A proper check for a service status.

This commit is contained in:
Alexander Andreev 2023-12-16 04:27:32 +04:00
parent 34d469319d
commit ac02190659
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -15,7 +15,7 @@ block nav
h1 About h1 About
mixin isServiceUp(header, service) mixin isServiceUp(header, service)
if (services[service]) if v, ok := services[service]; ok && v
h3.service-up= header h3.service-up= header
else else
h3.service-down= header h3.service-down= header