fix(container-console): close the console when selected shell does not exist inside the container (#2502)

pull/2510/head
baron_l 2018-11-28 18:57:36 +01:00 committed by Anthony Lapenna
parent 34b886d690
commit c778e79004
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function ($scope, $transition$, ContainerService, ImageService, EndpointProvider
})
.catch(function error(err) {
Notifications.error('Failure', err, 'Unable to exec into container');
$scope.disconnect();
});
};