mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
In error, the first letter is low-case letter
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
This commit is contained in:
parent
2cce7bf33a
commit
110ab746ba
1 changed files with 2 additions and 2 deletions
|
@ -1785,7 +1785,7 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error {
|
|||
hasData := devices.hasImage("data")
|
||||
|
||||
if !doInit && !hasData {
|
||||
return errors.New("Loopback data file not found")
|
||||
return errors.New("loopback data file not found")
|
||||
}
|
||||
|
||||
if !hasData {
|
||||
|
@ -1818,7 +1818,7 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error {
|
|||
hasMetadata := devices.hasImage("metadata")
|
||||
|
||||
if !doInit && !hasMetadata {
|
||||
return errors.New("Loopback metadata file not found")
|
||||
return errors.New("loopback metadata file not found")
|
||||
}
|
||||
|
||||
if !hasMetadata {
|
||||
|
|
Loading…
Reference in a new issue