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

several function names fixed in devmapper.go

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-12-20 16:05:29 +08:00
parent 2cf32ee043
commit f93b41e926

View file

@ -505,7 +505,7 @@ func ReloadPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize
} }
if err := task.run(); err != nil { if err := task.run(); err != nil {
return fmt.Errorf("devicemapper: Error running deviceCreate %s", err) return fmt.Errorf("devicemapper: Error running ReloadPool %s", err)
} }
return nil return nil
@ -792,7 +792,7 @@ func CreateSnapDeviceRaw(poolName string, deviceID int, baseDeviceID int) error
if dmSawExist { if dmSawExist {
return ErrDeviceIDExists return ErrDeviceIDExists
} }
return fmt.Errorf("devicemapper: Error running deviceCreate (createSnapDevice) %s", err) return fmt.Errorf("devicemapper: Error running deviceCreate (CreateSnapDeviceRaw) %s", err)
} }
return nil return nil