Merge pull request #37703 from kolyshkin/rm-dead-code
daemon/setMounts(): remove dead code
This commit is contained in:
commit
12d5eb8e22
1 changed files with 0 additions and 6 deletions
|
@ -498,12 +498,6 @@ func setMounts(daemon *Daemon, s *specs.Spec, c *container.Container, mounts []c
|
|||
|
||||
s.Mounts = defaultMounts
|
||||
for _, m := range mounts {
|
||||
for _, cm := range s.Mounts {
|
||||
if cm.Destination == m.Destination {
|
||||
return duplicateMountPointError(m.Destination)
|
||||
}
|
||||
}
|
||||
|
||||
if m.Source == "tmpfs" {
|
||||
data := m.Data
|
||||
parser := volumemounts.NewParser("linux")
|
||||
|
|
Loading…
Reference in a new issue