mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fixed Looback
typo.
This commit is contained in:
parent
e8437e8fcf
commit
fea432bdf5
1 changed files with 2 additions and 2 deletions
|
@ -440,11 +440,11 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error {
|
||||||
hasMetadata := devices.hasImage("metadata")
|
hasMetadata := devices.hasImage("metadata")
|
||||||
|
|
||||||
if !doInit && !hasData {
|
if !doInit && !hasData {
|
||||||
return errors.New("Looback data file not found")
|
return errors.New("Loopback data file not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
if !doInit && !hasMetadata {
|
if !doInit && !hasMetadata {
|
||||||
return errors.New("Looback metadata file not found")
|
return errors.New("Loopback metadata file not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
createdLoopback := !hasData || !hasMetadata
|
createdLoopback := !hasData || !hasMetadata
|
||||||
|
|
Loading…
Reference in a new issue