From 4ccc528d9613c6932810d3d80347c777ee43c253 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 21 Nov 2022 14:00:58 +0100 Subject: [PATCH] Remove some very verbose error outputs Signed-off-by: Kristoffer Dalby --- integration/hsic/hsic.go | 2 -- integration/integrationutil/util.go | 3 --- 2 files changed, 5 deletions(-) diff --git a/integration/hsic/hsic.go b/integration/hsic/hsic.go index 77d1db6c..5cdb5c55 100644 --- a/integration/hsic/hsic.go +++ b/integration/hsic/hsic.go @@ -279,8 +279,6 @@ func (t *HeadscaleInContainer) WaitForReady() error { return t.pool.Retry(func() error { resp, err := client.Get(url) //nolint if err != nil { - log.Printf("ready err: %s", err) - return fmt.Errorf("headscale is not ready: %w", err) } diff --git a/integration/integrationutil/util.go b/integration/integrationutil/util.go index a0fefaa5..640613b7 100644 --- a/integration/integrationutil/util.go +++ b/integration/integrationutil/util.go @@ -5,7 +5,6 @@ import ( "bytes" "fmt" "io" - "log" "path/filepath" "github.com/juanfont/headscale/integration/dockertestutil" @@ -49,8 +48,6 @@ func WriteFileToContainer( return fmt.Errorf("failed to close tar: %w", err) } - log.Printf("tar: %s", buf.String()) - // Ensure the directory is present inside the container _, _, err = dockertestutil.ExecuteCommand( container,