diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 02:43:41 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:58 +0000 |
commit | 9770ed257e9ee34dc3506c0f52c9f5f5a66ee57f (patch) | |
tree | 65525c2f076f112b69748bb748a770cabd4509e1 /libpod/image/pull.go | |
parent | adfd3930c1799465aa7b9b9c4fcb3ed19e1b36bf (diff) | |
download | podman-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/image/pull.go')
-rw-r--r-- | libpod/image/pull.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 389ea4e9e..269b73d08 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -34,8 +34,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() |