moby--moby/libcontainerd
Sebastiaan van Stijn b6b0b0a05f
libcontainerd/supervisor: don't write log-level to config file
the `--log-level` flag overrides whatever is in the containerd configuration file;
f033f6ff85/cmd/containerd/command/main.go (L339-L352)

Given that we set that flag when we start the containerd binary, there is no need
to write it both to the generated config-file and pass it as flag.

This patch also slightly changes the behavior; as both dockerd and containerd use
"info" as default log-level, don't set the log-level if it's the default.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-11 14:11:06 +02:00
..
local gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
queue
remote fix formatting of "nolint" tags for go1.19 2022-07-13 22:31:53 +02:00
supervisor libcontainerd/supervisor: don't write log-level to config file 2022-08-11 14:11:06 +02:00
types
libcontainerd_linux.go
libcontainerd_windows.go