From 75092830729c6243239cc9ded61381cbd26b1f08 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Fri, 20 Sep 2019 16:14:44 +1200 Subject: [PATCH] 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 --- app/portainer/views/home/homeController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/portainer/views/home/homeController.js b/app/portainer/views/home/homeController.js index 643988c97da0..78dc765d2dba 100644 --- a/app/portainer/views/home/homeController.js +++ b/app/portainer/views/home/homeController.js @@ -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;