mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +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:
@ -149,7 +149,7 @@ func (c *Container) platformInspectContainerHostConfig(ctrSpec *spec.Spec, hostC
|
||||
// Max an O(1) lookup table for default bounding caps.
|
||||
boundingCaps := make(map[string]bool)
|
||||
if !hostConfig.Privileged {
|
||||
for _, cap := range c.runtime.config.Containers.DefaultCapabilities {
|
||||
for _, cap := range c.runtime.config.Containers.DefaultCapabilities.Get() {
|
||||
boundingCaps[cap] = true
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user