fix(registry): find registry for image [EE-5660] (#9181)

pull/9231/head
Chaim Lev-Ari 2023-07-19 18:23:38 +03:00 committed by GitHub
parent fa755ffbca
commit 03b9a9b65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ angular.module('portainer.app').factory('RegistryService', [
match4 = match4 || registry;
}
if (_.includes(repository, getURL(registry))) {
if (repository.startsWith(getURL(registry))) {
match3 = registry;
}
}