Skip to content

Commit 8bcbc67

Browse files
committed
devmapper: fixup error formatting
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
1 parent d4791c7 commit 8bcbc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/graphdriver/devmapper/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (d *Driver) Remove(id string) error {
151151

152152
// This assumes the device has been properly Get/Put:ed and thus is unmounted
153153
if err := d.DeviceSet.DeleteDevice(id, false); err != nil {
154-
return fmt.Errorf("failed to remove device %v:%v", id, err)
154+
return fmt.Errorf("failed to remove device %s: %v", id, err)
155155
}
156156

157157
mp := path.Join(d.home, "mnt", id)

0 commit comments

Comments
 (0)