mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #29917 from rhvgoyal/output-device-id
devmapper: Return device id in error message Upstream-commit: c43bac064ba634f04145ff94083137d2b24545e1 Component: engine
This commit is contained in:
@@ -151,7 +151,7 @@ func (d *Driver) Remove(id string) error {
|
||||
|
||||
// This assumes the device has been properly Get/Put:ed and thus is unmounted
|
||||
if err := d.DeviceSet.DeleteDevice(id, false); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("failed to remove device %v:%v", id, err)
|
||||
}
|
||||
|
||||
mp := path.Join(d.home, "mnt", id)
|
||||
|
||||
Reference in New Issue
Block a user