mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Fix containerd debug log env var
This commit is contained in:
parent
f4f29e6947
commit
6e28ede2f8
@ -63,7 +63,7 @@ func Run(ctx context.Context, cfg *config.Node) error {
|
||||
}
|
||||
|
||||
if os.Getenv("CONTAINERD_LOG_LEVEL") != "" {
|
||||
args = append(args, "-l", "CONTAINERD_LOG_LEVEL")
|
||||
args = append(args, "-l", os.Getenv("CONTAINERD_LOG_LEVEL"))
|
||||
}
|
||||
|
||||
stdOut := io.Writer(os.Stdout)
|
||||
|
Loading…
Reference in New Issue
Block a user