diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-03 00:37:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 00:37:31 +0200 |
commit | 3fa818a036c4df4987abd2e790d5c9f5259ccfec (patch) | |
tree | 6b43a58782e8e73813fcea12dfba498a79f721ff /cmd/podman/exists.go | |
parent | 55e028a12ee003e057c65e376fe4b723d28ae52e (diff) | |
parent | d0a0a3fbd9ebb2942c761f14fc56f3a470ae1834 (diff) | |
download | podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.tar.gz podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.tar.bz2 podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.zip |
Merge pull request #3465 from baude/nostore
configure runtime without store
Diffstat (limited to 'cmd/podman/exists.go')
-rw-r--r-- | cmd/podman/exists.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go index 3d001f3d1..1e052e25f 100644 --- a/cmd/podman/exists.go +++ b/cmd/podman/exists.go @@ -107,7 +107,7 @@ func containerExistsCmd(c *cliconfig.ContainerExistsValues) error { if len(args) > 1 || len(args) < 1 { return errors.New("you may only check for the existence of one container at a time") } - runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand) + runtime, err := adapter.GetRuntimeNoStore(getContext(), &c.PodmanCommand) if err != nil { return errors.Wrapf(err, "could not get runtime") } @@ -126,7 +126,7 @@ func podExistsCmd(c *cliconfig.PodExistsValues) error { if len(args) > 1 || len(args) < 1 { return errors.New("you may only check for the existence of one pod at a time") } - runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand) + runtime, err := adapter.GetRuntimeNoStore(getContext(), &c.PodmanCommand) if err != nil { return errors.Wrapf(err, "could not get runtime") } |