From adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 28 Jul 2018 02:40:41 +0200 Subject: Document the properties of DefaultTransport a bit better. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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č Closes: #1176 Approved by: rhatdan --- libpod/image/pull.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpod/image') 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 -- cgit v1.2.3-54-g00ecf