Skip to content

Commit

Permalink
Merge pull request #6282 from rhatdan/pids
Browse files Browse the repository at this point in the history
[1.9] Fix mountpont in SecretMountsWithUIDGID
  • Loading branch information
rhatdan authored May 20, 2020
2 parents e4ded37 + 7034024 commit c210bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/container_internal_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ func (c *Container) makeBindMounts() error {
}

// Add Secret Mounts
secretMounts := secrets.SecretMountsWithUIDGID(c.config.MountLabel, c.state.RunDir, c.runtime.config.Containers.DefaultMountsFile, c.state.RunDir, c.RootUID(), c.RootGID(), rootless.IsRootless(), false)
secretMounts := secrets.SecretMountsWithUIDGID(c.config.MountLabel, c.state.RunDir, c.runtime.config.Containers.DefaultMountsFile, c.state.Mountpoint, c.RootUID(), c.RootGID(), rootless.IsRootless(), false)
for _, mount := range secretMounts {
if _, ok := c.state.BindMounts[mount.Destination]; !ok {
c.state.BindMounts[mount.Destination] = mount.Source
Expand Down

0 comments on commit c210bb1

Please sign in to comment.