Skip to content

Commit 3597b7b

Browse files
authored
Merge pull request #1087 from williammartin/master
Fix typo when container does not exist
2 parents c91b5be + 152169e commit 3597b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/factory_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func (l *LinuxFactory) loadState(root, id string) (*State, error) {
281281
f, err := os.Open(filepath.Join(root, stateFilename))
282282
if err != nil {
283283
if os.IsNotExist(err) {
284-
return nil, newGenericError(fmt.Errorf("container %q does not exists", id), ContainerNotExists)
284+
return nil, newGenericError(fmt.Errorf("container %q does not exist", id), ContainerNotExists)
285285
}
286286
return nil, newGenericError(err, SystemError)
287287
}

0 commit comments

Comments
 (0)