Skip to content

Commit

Permalink
Fix typo when container does not exist
Browse files Browse the repository at this point in the history
Signed-off-by: William Martin <wmartin@pivotal.io>
  • Loading branch information
williammartin committed Sep 28, 2016
1 parent d9fec4c commit 152169e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/factory_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 152169e

Please sign in to comment.