diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 06:54:34 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:59 +0000 |
commit | 2d5410d3496096ed2022a872b413a58ceee9fb98 (patch) | |
tree | 02d4bce1de4dbc07ded2788acb7ee0c9b4416275 /libpod/common_test.go | |
parent | dbe2395769933a53058e81386f8f7a072acd15a2 (diff) | |
download | podman-2d5410d3496096ed2022a872b413a58ceee9fb98.tar.gz podman-2d5410d3496096ed2022a872b413a58ceee9fb98.tar.bz2 podman-2d5410d3496096ed2022a872b413a58ceee9fb98.zip |
Move pullImage from Image to Runtime
pullImage (now) only uses Image.InputName; it is really used to _create_
an Image object, based on the pull results (as is most visible in the
LoadFromArchive caller), so it should not be a method on it.
This also simplifies a bit the number of different kids of uses of
Image.InputName; still apparently not enough to clearly document
the field, though.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'libpod/common_test.go')
0 files changed, 0 insertions, 0 deletions