mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
Fix play kube report printing when no containers are created
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
This commit is contained in:
@ -104,7 +104,7 @@ func kube(cmd *cobra.Command, args []string) error {
|
|||||||
|
|
||||||
switch len(pod.Containers) {
|
switch len(pod.Containers) {
|
||||||
case 0:
|
case 0:
|
||||||
return nil
|
continue
|
||||||
case 1:
|
case 1:
|
||||||
fmt.Printf("Container:\n")
|
fmt.Printf("Container:\n")
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user