fix(home): refresh the view on endpoint ping failure (#3161)

* fix(api): remove automatic backend failure for Down endpoints

* fix(home): refresh the view on endpoint ping failure
pull/3181/head
Anthony Lapenna 2019-09-20 16:14:44 +12:00 committed by GitHub
parent 1f68aad07f
commit 7509283072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;