1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

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
This commit is contained in:
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

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;