summaryrefslogtreecommitdiff
path: root/pkg/registries
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-21 15:54:26 -0400
committerGitHub <noreply@github.com>2019-05-21 15:54:26 -0400
commitcec56b0075eeec6a8cdfba3138dec32fdcd36b47 (patch)
tree6b129e2b8f58e0a46b8d25cd4459bb6e3c9436f7 /pkg/registries
parente6277b1a2dedf8a4d80a270ddac0be4c22ed3e6d (diff)
parent1d505f6875d27dccafb777853a51045f82888f00 (diff)
downloadpodman-cec56b0075eeec6a8cdfba3138dec32fdcd36b47.tar.gz
podman-cec56b0075eeec6a8cdfba3138dec32fdcd36b47.tar.bz2
podman-cec56b0075eeec6a8cdfba3138dec32fdcd36b47.zip
Merge pull request #3168 from rhatdan/vendor
Update vendor of buildah and containers/images
Diffstat (limited to 'pkg/registries')
-rw-r--r--pkg/registries/registries.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/registries/registries.go b/pkg/registries/registries.go
index fdb7f33c5..5c4ecd020 100644
--- a/pkg/registries/registries.go
+++ b/pkg/registries/registries.go
@@ -51,7 +51,7 @@ func GetRegistries() ([]string, error) {
}
for _, reg := range registries {
if reg.Search {
- searchRegistries = append(searchRegistries, reg.URL)
+ searchRegistries = append(searchRegistries, reg.Location)
}
}
return searchRegistries, nil
@@ -66,7 +66,7 @@ func GetBlockedRegistries() ([]string, error) {
}
for _, reg := range registries {
if reg.Blocked {
- blockedRegistries = append(blockedRegistries, reg.URL)
+ blockedRegistries = append(blockedRegistries, reg.Location)
}
}
return blockedRegistries, nil
@@ -81,7 +81,7 @@ func GetInsecureRegistries() ([]string, error) {
}
for _, reg := range registries {
if reg.Insecure {
- insecureRegistries = append(insecureRegistries, reg.URL)
+ insecureRegistries = append(insecureRegistries, reg.Location)
}
}
return insecureRegistries, nil