Fix play kube report printing when no containers are created
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
This commit is contained in:
parent
62b7a770e8
commit
162c1d812b
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue