Skip to content

Commit

Permalink
fix(home): refresh the view on endpoint ping failure (#3161)
Browse files Browse the repository at this point in the history
* fix(api): remove automatic backend failure for Down endpoints

* fix(home): refresh the view on endpoint ping failure
  • Loading branch information
deviantony committed Sep 20, 2019
1 parent 1f68aad commit 7509283
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/portainer/views/home/homeController.js
Expand Up @@ -127,6 +127,7 @@ angular.module('portainer.app')
})
.catch(function error(err) {
Notifications.error('Failure', err, 'Unable to connect to the Docker endpoint');
$state.reload();
})
.finally(function final() {
$scope.state.connectingToEdgeEndpoint = false;
Expand Down

0 comments on commit 7509283

Please sign in to comment.