Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Display UI even when HAproxy is not there
Browse files Browse the repository at this point in the history
  • Loading branch information
relistan committed May 11, 2018
1 parent 718d7fe commit 265eb85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/app/services/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ angular.module('sidecar.services', ['ngRoute', 'ui.bootstrap'])
svcGetHaproxy().then(function(haproxy) {
state.haproxy = haproxy.data;
haproxyWaiter.resolve();
}).catch(function() {
// didn't get a valid response, maybe we're not running HAproxy
haproxyWaiter.resolve();
});
};

Expand Down

0 comments on commit 265eb85

Please sign in to comment.