Skip to content

Commit 04e8cd1

Browse files
committed
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>
1 parent 01feac8 commit 04e8cd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/domain/infra/abi/play.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,6 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
11431143
}
11441144
for id, err := range podStartErrors {
11451145
playKubePod.ContainerErrors = append(playKubePod.ContainerErrors, fmt.Errorf("starting container %s: %w", id, err).Error())
1146-
fmt.Println(playKubePod.ContainerErrors)
11471146
}
11481147

11491148
// Wait for each proxy to receive a READY message. Use a wait

0 commit comments

Comments
 (0)