mirror of https://github.com/portainer/portainer
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 failurepull/3181/head
parent
1f68aad07f
commit
7509283072
|
@ -127,6 +127,7 @@ angular.module('portainer.app')
|
||||||
})
|
})
|
||||||
.catch(function error(err) {
|
.catch(function error(err) {
|
||||||
Notifications.error('Failure', err, 'Unable to connect to the Docker endpoint');
|
Notifications.error('Failure', err, 'Unable to connect to the Docker endpoint');
|
||||||
|
$state.reload();
|
||||||
})
|
})
|
||||||
.finally(function final() {
|
.finally(function final() {
|
||||||
$scope.state.connectingToEdgeEndpoint = false;
|
$scope.state.connectingToEdgeEndpoint = false;
|
||||||
|
|
Loading…
Reference in New Issue