Skip to content

Commit

Permalink
Merge pull request #1087 from williammartin/master
Browse files Browse the repository at this point in the history
Fix typo when container does not exist
  • Loading branch information
hqhq committed Sep 29, 2016
2 parents c91b5be + 152169e commit 3597b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/factory_linux.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3597b7b

Please sign in to comment.