1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Remove some very verbose error outputs

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-11-21 14:00:58 +01:00 committed by Kristoffer Dalby
parent 6a311f4ab6
commit 4ccc528d96
2 changed files with 0 additions and 5 deletions

View File

@ -279,8 +279,6 @@ func (t *HeadscaleInContainer) WaitForReady() error {
return t.pool.Retry(func() error { return t.pool.Retry(func() error {
resp, err := client.Get(url) //nolint resp, err := client.Get(url) //nolint
if err != nil { if err != nil {
log.Printf("ready err: %s", err)
return fmt.Errorf("headscale is not ready: %w", err) return fmt.Errorf("headscale is not ready: %w", err)
} }

View File

@ -5,7 +5,6 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"io" "io"
"log"
"path/filepath" "path/filepath"
"github.com/juanfont/headscale/integration/dockertestutil" "github.com/juanfont/headscale/integration/dockertestutil"
@ -49,8 +48,6 @@ func WriteFileToContainer(
return fmt.Errorf("failed to close tar: %w", err) return fmt.Errorf("failed to close tar: %w", err)
} }
log.Printf("tar: %s", buf.String())
// Ensure the directory is present inside the container // Ensure the directory is present inside the container
_, _, err = dockertestutil.ExecuteCommand( _, _, err = dockertestutil.ExecuteCommand(
container, container,