mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-14 10:43:50 +00:00
devmapper: remove newline string
Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user