summaryrefslogtreecommitdiff
path: root/libpod/runtime_img.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-28 02:43:41 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-01 18:22:58 +0000
commit9770ed257e9ee34dc3506c0f52c9f5f5a66ee57f (patch)
tree65525c2f076f112b69748bb748a770cabd4509e1 /libpod/runtime_img.go
parentadfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf (diff)
downloadpodman-9770ed257e9ee34dc3506c0f52c9f5f5a66ee57f.tar.gz
podman-9770ed257e9ee34dc3506c0f52c9f5f5a66ee57f.tar.bz2
podman-9770ed257e9ee34dc3506c0f52c9f5f5a66ee57f.zip
Remove the TransportNames arrays
They are not used anywhere AFAICS, and the underlying idea that transport-specific image names are reusable across transports is very dubious anyway. So, drop them instead of documenting or fixing them. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1176 Approved by: rhatdan
Diffstat (limited to 'libpod/runtime_img.go')
-rw-r--r--libpod/runtime_img.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/runtime_img.go b/libpod/runtime_img.go
index d127d753f..f6038f8d0 100644
--- a/libpod/runtime_img.go
+++ b/libpod/runtime_img.go
@@ -31,8 +31,6 @@ var (
// DirTransport is the transport for pushing and pulling
// images to and from a directory
DirTransport = directory.Transport.Name()
- // TransportNames are the supported transports in string form
- TransportNames = [...]string{DefaultTransport, DockerArchive, OCIArchive, "ostree:", "dir:"}
// TarballTransport is the transport for importing a tar archive
// and creating a filesystem image
TarballTransport = tarball.Transport.Name()