summaryrefslogtreecommitdiff
path: root/cmd/podman/exists.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-16 06:25:41 -0700
committerGitHub <noreply@github.com>2019-04-16 06:25:41 -0700
commit713839cf8393bdb96c739cb745e403cf2a3a1327 (patch)
tree5ae1609e0372f6cd4d1b87df93fa0358c47900eb /cmd/podman/exists.go
parentc1e2b583c82261639d6927c9b2a4f19d87a166a7 (diff)
parent6fb0a706af438778dd372d4b05b417fb30a45965 (diff)
downloadpodman-713839cf8393bdb96c739cb745e403cf2a3a1327.tar.gz
podman-713839cf8393bdb96c739cb745e403cf2a3a1327.tar.bz2
podman-713839cf8393bdb96c739cb745e403cf2a3a1327.zip
Merge pull request #2946 from baude/segs
Fix segfaults attribute to missing options
Diffstat (limited to 'cmd/podman/exists.go')
-rw-r--r--cmd/podman/exists.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go
index 8a2f78c88..dae48f14b 100644
--- a/cmd/podman/exists.go
+++ b/cmd/podman/exists.go
@@ -29,6 +29,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
imageExistsCommand.InputArgs = args
imageExistsCommand.GlobalFlags = MainGlobalOpts
+ imageExistsCommand.Remote = remoteclient
return imageExistsCmd(&imageExistsCommand)
},
Example: `podman image exists imageID
@@ -42,6 +43,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
containerExistsCommand.InputArgs = args
containerExistsCommand.GlobalFlags = MainGlobalOpts
+ containerExistsCommand.Remote = remoteclient
return containerExistsCmd(&containerExistsCommand)
},
@@ -56,6 +58,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
podExistsCommand.InputArgs = args
podExistsCommand.GlobalFlags = MainGlobalOpts
+ podExistsCommand.Remote = remoteclient
return podExistsCmd(&podExistsCommand)
},
Example: `podman pod exists podID