summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheunrealgeek <theunrealgeek@gmail.com>2020-06-05 09:58:10 -0700
committertheunrealgeek <theunrealgeek@gmail.com>2020-06-05 09:58:10 -0700
commit162c1d812bd875a015c428119eac7fbabbe6c8ff (patch)
tree1ae8eee293827128e3d5a6ccb289c08953274f0a
parent62b7a770e8a858e7c3c460922f1cf4fef360279c (diff)
downloadpodman-162c1d812bd875a015c428119eac7fbabbe6c8ff.tar.gz
podman-162c1d812bd875a015c428119eac7fbabbe6c8ff.tar.bz2
podman-162c1d812bd875a015c428119eac7fbabbe6c8ff.zip
Fix play kube report printing when no containers are created
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
-rw-r--r--cmd/podman/play/kube.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/play/kube.go b/cmd/podman/play/kube.go
index 8d9a26151..c26ca9853 100644
--- a/cmd/podman/play/kube.go
+++ b/cmd/podman/play/kube.go
@@ -104,7 +104,7 @@ func kube(cmd *cobra.Command, args []string) error {
switch len(pod.Containers) {
case 0:
- return nil
+ continue
case 1:
fmt.Printf("Container:\n")
default: