From 6e28ede2f8a070b6e083451e4204220142b91463 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 7 Mar 2019 11:20:44 -0700 Subject: [PATCH] Fix containerd debug log env var --- pkg/agent/containerd/containerd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/containerd/containerd.go b/pkg/agent/containerd/containerd.go index fcd2dc708c..ffae694eff 100644 --- a/pkg/agent/containerd/containerd.go +++ b/pkg/agent/containerd/containerd.go @@ -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)