1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00

feat(container-creation): display a warning message when editing a container with an unknow registry (#1143)

This commit is contained in:
Anthony Lapenna 2017-09-05 16:42:20 +02:00 committed by GitHub
parent bf6b398a27
commit be4beacdf7
2 changed files with 22 additions and 17 deletions

View file

@ -403,7 +403,6 @@ function ($q, $scope, $state, $stateParams, $filter, Container, ContainerHelper,
}
function loadFromContainerImageConfig(d) {
// If no registry found, we let default DockerHub and let full image path
var imageInfo = ImageHelper.extractImageAndRegistryFromRepository($scope.config.Image);
RegistryService.retrieveRegistryFromRepository($scope.config.Image)
.then(function success(data) {