diff options
author | haircommander <pehunt@redhat.com> | 2018-08-17 10:36:51 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-23 18:16:28 +0000 |
commit | 2a7449362f2884d9ae6a783c0ce38979d882e2cf (patch) | |
tree | 6e7b8ab33505d210201e62faba6a50f98c0a4ea7 /cmd/podman/libpodruntime | |
parent | 697b46430a8a7c2c7231078911dcec51f0c6fab5 (diff) | |
download | podman-2a7449362f2884d9ae6a783c0ce38979d882e2cf.tar.gz podman-2a7449362f2884d9ae6a783c0ce38979d882e2cf.tar.bz2 podman-2a7449362f2884d9ae6a783c0ce38979d882e2cf.zip |
Change pause container to infra container
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1187
Approved by: mheon
Diffstat (limited to 'cmd/podman/libpodruntime')
-rw-r--r-- | cmd/podman/libpodruntime/runtime.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go index af6be0602..ec105719f 100644 --- a/cmd/podman/libpodruntime/runtime.go +++ b/cmd/podman/libpodruntime/runtime.go @@ -125,12 +125,12 @@ func GetRuntimeWithStorageOpts(c *cli.Context, storageOpts *storage.StoreOptions // TODO flag to set CNI plugins dir? // Pod create options - if c.IsSet("pause-image") { - options = append(options, libpod.WithDefaultPauseImage(c.String("pause-image"))) + if c.IsSet("infra-image") { + options = append(options, libpod.WithDefaultInfraImage(c.String("infra-image"))) } - if c.IsSet("pause-command") { - options = append(options, libpod.WithDefaultPauseCommand(c.String("pause-command"))) + if c.IsSet("infra-command") { + options = append(options, libpod.WithDefaultInfraCommand(c.String("infra-command"))) } return libpod.NewRuntime(options...) |