summaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-03-21 09:55:57 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-21 19:14:50 +0000
commitd0835493d51038dda2bc63530f4fb70ced9f98cf (patch)
treee8199183a90f2d09dd4eb1f7539031811503bddc /cmd/podman/create.go
parent3428de0672afcd94ce65d7c29fd23e44e7e2b465 (diff)
downloadpodman-d0835493d51038dda2bc63530f4fb70ced9f98cf.tar.gz
podman-d0835493d51038dda2bc63530f4fb70ced9f98cf.tar.bz2
podman-d0835493d51038dda2bc63530f4fb70ced9f98cf.zip
Migrate podman inspect and tag to image library
Signed-off-by: baude <bbaude@redhat.com> Closes: #525 Approved by: baude
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index 947f6d2a6..af065817f 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -180,7 +180,7 @@ func createCmd(c *cli.Context) error {
if err != nil {
return err
}
- data, err := libpod.GetImageData(newImage)
+ data, err := newImage.Inspect()
createConfig, err := parseCreateOpts(c, runtime, newImage.Names()[0], data)
if err != nil {
return err