mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +08:00
Update c/storage after https://github.com/containers/storage/pull/1436
... and update to remove the now-deprecated Locker interface. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@ -1685,7 +1685,7 @@ func (c *Container) makeBindMounts() error {
|
||||
hostsPath, exists := bindMounts[config.DefaultHostsFile]
|
||||
if !c.config.UseImageHosts && exists {
|
||||
// we cannot use the dependency container lock due ABBA deadlocks in cleanup()
|
||||
lock, err := lockfile.GetLockfile(hostsPath)
|
||||
lock, err := lockfile.GetLockFile(hostsPath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to lock hosts file: %w", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user