mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 13:41:36 +00:00
Handle image metadata when drivers are switched
This commit is contained in:
@@ -121,3 +121,7 @@ func (d *Driver) unmount(id, mountPoint string) error {
|
||||
// Unmount the device
|
||||
return d.DeviceSet.UnmountDevice(id, mountPoint, true)
|
||||
}
|
||||
|
||||
func (d *Driver) Exists(id string) bool {
|
||||
return d.Devices[id] != nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user