From 162c1d812bd875a015c428119eac7fbabbe6c8ff Mon Sep 17 00:00:00 2001 From: theunrealgeek Date: Fri, 5 Jun 2020 09:58:10 -0700 Subject: Fix play kube report printing when no containers are created Signed-off-by: Aditya Kamath --- cmd/podman/play/kube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') 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: -- cgit v1.2.3-54-g00ecf