Merge pull request #182 from ibuildthecloud/revert

Fix containerd debug log env var
This commit is contained in:
Darren Shepherd 2019-03-07 12:56:51 -07:00 committed by GitHub
commit 7fbeafea46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)