mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Ensure logging is off for integration test commands
This commit is contained in:
parent
d47b83f80b
commit
9a26fa7989
@ -32,7 +32,7 @@ func ExecuteCommand(resource *dockertest.Resource, cmd []string, env []string) (
|
|||||||
exitCode, err := resource.Exec(
|
exitCode, err := resource.Exec(
|
||||||
cmd,
|
cmd,
|
||||||
dockertest.ExecOptions{
|
dockertest.ExecOptions{
|
||||||
Env: append(env, "LOG_LEVEL=error"),
|
Env: append(env, "HEADSCALE_LOG_LEVEL=disabled"),
|
||||||
StdOut: &stdout,
|
StdOut: &stdout,
|
||||||
StdErr: &stderr,
|
StdErr: &stderr,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user