mirror of https://github.com/portainer/portainer
fix(registry): find registry for image [EE-5660] (#9181)
parent
fa755ffbca
commit
03b9a9b65d
|
@ -137,7 +137,7 @@ angular.module('portainer.app').factory('RegistryService', [
|
||||||
match4 = match4 || registry;
|
match4 = match4 || registry;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_.includes(repository, getURL(registry))) {
|
if (repository.startsWith(getURL(registry))) {
|
||||||
match3 = registry;
|
match3 = registry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue