mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00
container.conf: support attributed string slices
All `[]string`s in containers.conf have now been migrated to attributed string slices which require some adjustments in Buildah and Podman. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -46,7 +46,7 @@ func (r *Runtime) setPlatformHostInfo(info *define.HostInfo) error {
|
||||
info.IDMappings = define.IDMappings{}
|
||||
info.Security = define.SecurityInfo{
|
||||
AppArmorEnabled: apparmor.IsEnabled(),
|
||||
DefaultCapabilities: strings.Join(r.config.Containers.DefaultCapabilities, ","),
|
||||
DefaultCapabilities: strings.Join(r.config.Containers.DefaultCapabilities.Get(), ","),
|
||||
Rootless: rootless.IsRootless(),
|
||||
SECCOMPEnabled: seccomp.IsEnabled(),
|
||||
SECCOMPProfilePath: seccompProfilePath,
|
||||
|
Reference in New Issue
Block a user