Merge pull request #22433 from rhatdan/labels

We should always return the MountLabel
This commit is contained in:
Sebastiaan van Stijn 2016-05-07 00:24:27 +02:00
commit 926725b470
1 changed files with 0 additions and 3 deletions

View File

@ -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
}