Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
help message: don't parse the config for cgroup-manager default
Do not generate an entire `config.Config` for displaying the default value for the --cgroup-manager flag and just default to systemd. Not using the `config.Config` is okay as 1) the value may change at runtime in any case (rootless, DBUS access, etc.), 2) it avoids to redundantly parse the system config files and to generate the hard-coded default config, and 3) the log-level and other attributes are not yet set during init() causing undesirable side effects. Fixes: containers#4456 Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information