Fix containerd debug log env var

This commit is contained in:
Darren Shepherd 2019-03-07 11:20:44 -07:00
parent f4f29e6947
commit 6e28ede2f8

View File

@ -63,7 +63,7 @@ func Run(ctx context.Context, cfg *config.Node) error {
} }
if os.Getenv("CONTAINERD_LOG_LEVEL") != "" { 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) stdOut := io.Writer(os.Stdout)