Fix typo when container does not exist

Signed-off-by: William Martin <wmartin@pivotal.io>
This commit is contained in:
William Martin 2016-09-28 10:37:19 +00:00
parent d9fec4c63b
commit 152169ed34
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,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)
}