summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-01 03:31:06 -0400
committerGitHub <noreply@github.com>2020-10-01 03:31:06 -0400
commitc70f5fb19bb411f81183d025d18bbf1e8cdc0938 (patch)
treefb8aaef8316394b43ab47f2282dea0cd97678b77 /pkg
parent5954d370718f67ebb220f3dbed24a63adf5c3dae (diff)
parent8ff35a098c5ab64ce7c303139ac8205201208d6e (diff)
downloadpodman-c70f5fb19bb411f81183d025d18bbf1e8cdc0938.tar.gz
podman-c70f5fb19bb411f81183d025d18bbf1e8cdc0938.tar.bz2
podman-c70f5fb19bb411f81183d025d18bbf1e8cdc0938.zip
Merge pull request #7823 from vrothberg/fix-6381
image look up: consult registries.conf
Diffstat (limited to 'pkg')
-rw-r--r--pkg/registries/registries.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/registries/registries.go b/pkg/registries/registries.go
index 5dff25c7d..949c5d835 100644
--- a/pkg/registries/registries.go
+++ b/pkg/registries/registries.go
@@ -1,5 +1,10 @@
package registries
+// TODO: this package should not exist anymore. Users should either use
+// c/image's `sysregistriesv2` package directly OR, even better, we cache a
+// config in libpod's image runtime so we don't need to parse the
+// registries.conf files redundantly.
+
import (
"os"
"path/filepath"