mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00
kube play: don't print start errors twice
It is very bad practise to print to stdout in our backend code without nay real context. The exact same error message is returned to the caller and printed in the cli frontend hwere it should be. Therefore drop this print as it is redundant. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -1143,7 +1143,6 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
|
||||
}
|
||||
for id, err := range podStartErrors {
|
||||
playKubePod.ContainerErrors = append(playKubePod.ContainerErrors, fmt.Errorf("starting container %s: %w", id, err).Error())
|
||||
fmt.Println(playKubePod.ContainerErrors)
|
||||
}
|
||||
|
||||
// Wait for each proxy to receive a READY message. Use a wait
|
||||
|
Reference in New Issue
Block a user