mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-24 18:45:24 +00:00
Remove some very verbose error outputs
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
6a311f4ab6
commit
4ccc528d96
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user