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:
parent
01feac8af5
commit
04e8cd1eb1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue