diff options
author | Miloslav Trmač <mitr@redhat.com> | 2019-01-09 19:00:59 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2019-01-14 04:07:23 +0100 |
commit | e9721b757ae5da4dad4f68c5eb721f348cfe935a (patch) | |
tree | f5667cb02e122cb2926c2705ed0278cdc54c9433 /libpod/image/parts.go | |
parent | 99d2259f8a71dbe5a0d9e78757b51551ce0eb8b1 (diff) | |
download | podman-e9721b757ae5da4dad4f68c5eb721f348cfe935a.tar.gz podman-e9721b757ae5da4dad4f68c5eb721f348cfe935a.tar.bz2 podman-e9721b757ae5da4dad4f68c5eb721f348cfe935a.zip |
Remove imageParts.transport
It is only ever set to DefaulTransport, and all of the code
is docker/reference-specific anyway, so there's no point in
making this a variable.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'libpod/image/parts.go')
-rw-r--r-- | libpod/image/parts.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/image/parts.go b/libpod/image/parts.go index cf774030b..b7c5d1252 100644 --- a/libpod/image/parts.go +++ b/libpod/image/parts.go @@ -10,7 +10,6 @@ import ( // imageParts describes the parts of an image's name type imageParts struct { unnormalizedRef reference.Named // WARNING: Did not go through docker.io[/library] normalization - transport string registry string name string tag string @@ -74,7 +73,6 @@ func decompose(input string) (imageParts, error) { name: imageName, tag: tag, isTagged: isTagged, - transport: DefaultTransport, }, nil } |