Commit dc664874 authored by Jakob Moser's avatar Jakob Moser
Browse files

Interpret 301 and 302 as Up

parent bbcf9a8b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ function getServiceUrl(serviceHost) {
function getStatusInterpretation(statusCode) {
    switch (statusCode) {
        case 200:
        case 301:
        case 302:
            return ["Up", "green"]
        case 401:
            return ["Protected", "yellow"]