mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
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
This commit is contained in:

committed by
Atomic Bot

parent
adfd3930c1
commit
9770ed257e
@ -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()
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user