Merge pull request #1087 from williammartin/master
Fix typo when container does not exist
This commit is contained in:
commit
3597b7b743
|
@ -281,7 +281,7 @@ func (l *LinuxFactory) loadState(root, id string) (*State, error) {
|
|||
f, err := os.Open(filepath.Join(root, stateFilename))
|
||||
if err != nil {
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue