diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 02:40:41 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:58 +0000 |
commit | adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf (patch) | |
tree | 5fbda3ea36894f95f00e83da24e226a04591fdfd /libpod/image/pull.go | |
parent | b3e6e908aba0b83dd049ee7666326a6bfc0eba0b (diff) | |
download | podman-adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf.tar.gz podman-adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf.tar.bz2 podman-adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf.zip |
Document the properties of DefaultTransport a bit better.
This has no ambition to change the design, just to be clear about
what the design is.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'libpod/image/pull.go')
-rw-r--r-- | libpod/image/pull.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 7c89709d6..389ea4e9e 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -44,6 +44,9 @@ var ( // AtomicTransport is the transport for atomic registries AtomicTransport = "atomic" // DefaultTransport is a prefix that we apply to an image name + // NOTE: This is a string prefix, not actually a transport name usable for transports.Get(); + // and because syntaxes of image names are transport-dependent, the prefix is not really interchangeable; + // each user implicitly assumes the appended string is a Docker-like reference. DefaultTransport = DockerTransport // DefaultLocalRepo is the default local repository for local image operations // Remote pulls will still use defined registries |