summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-17 02:35:50 -0700
committerGitHub <noreply@github.com>2020-04-17 02:35:50 -0700
commitd31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b (patch)
tree215280684ce6195fac64f18ebd7d29c5baa376cc /cmd/podman/common/create.go
parent0d2b5532c417c58bd24e71a56c5c55b43e423a59 (diff)
parent554c663b5ad2bd0c0fa4c58559ec2a9b19ed399f (diff)
downloadpodman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.tar.gz
podman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.tar.bz2
podman-d31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b.zip
Merge pull request #5856 from jwhonce/wip/options
Fix bug where two configurations had been created
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r--cmd/podman/common/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go
index a7c8435c9..49a40dfa0 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -10,7 +10,7 @@ import (
const sizeWithUnitFormat = "(format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))"
-var containerConfig = registry.NewPodmanConfig()
+var containerConfig = registry.PodmanConfig()
func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet {
createFlags := pflag.FlagSet{}