mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-19 14:17:48 +00:00
Use the logical registry location instead of the physical one in (podman info)
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
5fde3361da
commit
2be01ea4fb
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ func GetBlockedRegistries() ([]string, error) {
|
|||
}
|
||||
for _, reg := range registries {
|
||||
if reg.Blocked {
|
||||
blockedRegistries = append(blockedRegistries, reg.Location)
|
||||
blockedRegistries = append(blockedRegistries, reg.Prefix)
|
||||
}
|
||||
}
|
||||
return blockedRegistries, nil
|
||||
|
|
@ -71,7 +71,7 @@ func GetInsecureRegistries() ([]string, error) {
|
|||
}
|
||||
for _, reg := range registries {
|
||||
if reg.Insecure {
|
||||
insecureRegistries = append(insecureRegistries, reg.Location)
|
||||
insecureRegistries = append(insecureRegistries, reg.Prefix)
|
||||
}
|
||||
}
|
||||
return insecureRegistries, nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue