Merge pull request #22433 from rhatdan/labels
We should always return the MountLabel Upstream-commit: 926725b4704e7d050b19d1548322938ae7ad5a10 Component: engine
This commit is contained in:
@@ -340,9 +340,6 @@ func (container *Container) GetProcessLabel() string {
|
||||
// GetMountLabel returns the mounting label for the container.
|
||||
// This label is empty if the container is privileged.
|
||||
func (container *Container) GetMountLabel() string {
|
||||
if container.HostConfig.Privileged {
|
||||
return ""
|
||||
}
|
||||
return container.MountLabel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user