Fix play kube report printing when no containers are created

Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
This commit is contained in:
theunrealgeek
2020-06-05 09:58:10 -07:00
parent 62b7a770e8
commit 162c1d812b

View File

@ -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: