Fix typo when container does not exist
Signed-off-by: William Martin <wmartin@pivotal.io>
This commit is contained in:
parent
d9fec4c63b
commit
152169ed34
|
@ -277,7 +277,7 @@ func (l *LinuxFactory) loadState(root, id string) (*State, error) {
|
||||||
f, err := os.Open(filepath.Join(root, stateFilename))
|
f, err := os.Open(filepath.Join(root, stateFilename))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
return nil, newGenericError(fmt.Errorf("container %q does not exists", id), ContainerNotExists)
|
return nil, newGenericError(fmt.Errorf("container %q does not exist", id), ContainerNotExists)
|
||||||
}
|
}
|
||||||
return nil, newGenericError(err, SystemError)
|
return nil, newGenericError(err, SystemError)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue