1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

devmapper: remove newline string

Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
Vincent Batts 2015-01-12 13:40:00 -05:00
parent cb4ea2c778
commit 2b51d1a167

View file

@ -1424,7 +1424,7 @@ func (devices *DeviceSet) UnmountDevice(hash string) error {
defer devices.Unlock()
if info.mountCount == 0 {
return fmt.Errorf("UnmountDevice: device not-mounted id %s\n", hash)
return fmt.Errorf("UnmountDevice: device not-mounted id %s", hash)
}
info.mountCount--