mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
devmapper: fixup error formatting
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
d4791c7b64
commit
8bcbc6711f
1 changed files with 1 additions and 1 deletions
|
@ -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 fmt.Errorf("failed to remove device %v:%v", id, err)
|
||||
return fmt.Errorf("failed to remove device %s: %v", id, err)
|
||||
}
|
||||
|
||||
mp := path.Join(d.home, "mnt", id)
|
||||
|
|
Loading…
Reference in a new issue