summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32015-05-01 11:24:08 +0200
committerHorus32015-05-01 11:24:08 +0200
commit39ae1e288e94871ea7fe41976080afdb503950bc (patch)
treecd908f45582aa0b296947e5b9f8f85f2233c2593
parent11ce32bdfc0b01157a8f99a6877ff78f9a195c70 (diff)
downloadstatuspage-39ae1e288e94871ea7fe41976080afdb503950bc.tar.gz
Bugfix
-rw-r--r--app/fetch.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/fetch.go b/app/fetch.go
index f6c4fed..fc457f7 100644
--- a/app/fetch.go
+++ b/app/fetch.go
@@ -35,9 +35,11 @@ func CheckPages(h []Host) []Host {
if h[k].StatusCode < 400 {
h[k].Success = true
h[k].Class = "success"
+ h[k].Monitored = true
} else {
h[k].Success = false
h[k].Class = "danger"
+ h[k].Monitored = true
}
h[k].Reason = ""
}