소스 검색

Merge pull request #10048 from vbatts/vbatts-dm_no_newline

devmapper: remove newline string
Vincent Batts 10 년 전
부모
커밋
1c57555285
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      daemon/graphdriver/devmapper/deviceset.go

+ 1 - 1
daemon/graphdriver/devmapper/deviceset.go

@@ -1424,7 +1424,7 @@ func (devices *DeviceSet) UnmountDevice(hash string) error {
 	defer devices.Unlock()
 	defer devices.Unlock()
 
 
 	if info.mountCount == 0 {
 	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--
 	info.mountCount--