summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-12 10:20:02 -0400
committerGitHub <noreply@github.com>2020-03-12 10:20:02 -0400
commit235f367861be6b7f9ca3b4a62c240a03728a7a21 (patch)
tree7e5a6f78fa65090d925e533dbf768b3ff83dd577 /cmd/podman/shared/create.go
parent19f5d557bc5d9c538d7a3992abeaa9f7fbb44166 (diff)
parent8741eb8a9201b930abb463c1128a48bdbcec70a0 (diff)
downloadpodman-235f367861be6b7f9ca3b4a62c240a03728a7a21.tar.gz
podman-235f367861be6b7f9ca3b4a62c240a03728a7a21.tar.bz2
podman-235f367861be6b7f9ca3b4a62c240a03728a7a21.zip
Merge pull request #5469 from giuseppe/no-size-create-container
create: do not calculate image size
Diffstat (limited to 'cmd/podman/shared/create.go')
-rw-r--r--cmd/podman/shared/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index 11b2bd027..8968f10e8 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -101,7 +101,7 @@ func CreateContainer(ctx context.Context, c *GenericCLIResults, runtime *libpod.
if err != nil {
return nil, nil, err
}
- imageData, err = newImage.Inspect(ctx)
+ imageData, err = newImage.InspectNoSize(ctx)
if err != nil {
return nil, nil, err
}