diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-12-03 22:35:40 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2018-12-06 23:34:59 +0100 |
commit | 8150c942d5cfd062c9ad46d27ef2b9cd87763773 (patch) | |
tree | b8c2c8a3c7f703c8ea87f0bfb14b58fb1fee4000 /pkg/varlinkapi/containers_create.go | |
parent | 7407d6621cfafb03d2fafcff810b3da0c1a70951 (diff) | |
download | podman-8150c942d5cfd062c9ad46d27ef2b9cd87763773.tar.gz podman-8150c942d5cfd062c9ad46d27ef2b9cd87763773.tar.bz2 podman-8150c942d5cfd062c9ad46d27ef2b9cd87763773.zip |
Factor out the registries.conf location code in pkg/registries
The newly introduced SystemRegistriesConfPath somewhat decreases
duplication, but more importantly will allow future callers to
set just a types.SystemContext.SystemRegistriesConfPath and not call
GetRegistries / GetInsecureRegistries at all.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/containers_create.go')
0 files changed, 0 insertions, 0 deletions