From 04e8cd1eb101a135d976f799040aa51c136504cc Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 4 Mar 2025 18:20:04 +0100 Subject: [PATCH] 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 --- pkg/domain/infra/abi/play.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index 2d9b780716..4876974a1e 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -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