mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #6505 from vdloo/master
Fixes typo in loopback device error message
This commit is contained in:
commit
f3db32c035
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func openNextAvailableLoopback(index int, sparseFile *os.File) (loopFile *os.Fil
|
||||||
fi, err := os.Stat(target)
|
fi, err := os.Stat(target)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
utils.Errorf("There are no more loopback device available.")
|
utils.Errorf("There are no more loopback devices available.")
|
||||||
}
|
}
|
||||||
return nil, ErrAttachLoopbackDevice
|
return nil, ErrAttachLoopbackDevice
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue