]> arthur.barton.de Git - netdata.git/commitdiff
show the proper error when registry is https but server is http
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 11 Sep 2016 19:07:56 +0000 (22:07 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 11 Sep 2016 19:07:56 +0000 (22:07 +0300)
web/index.html

index 5c7cb84fd1406c48ddbd694e3bddab1e2d81bea1..a1f4ce49edb8afb8bb691d863b1cddf569610f0e 100644 (file)
@@ -1313,7 +1313,7 @@ function gotoServerValidateUrl(id, guid, url) {
                 }
             }
             else {
-                document.getElementById(guid + '-' + id + '-status').innerHTML = "failed!";
+                document.getElementById(guid + '-' + id + '-status').innerHTML = error;
                 gotoServerValidateRemaining--;
                 if(gotoServerValidateRemaining <= 0) {
                     gotoServerMiddleClick = false;