Skip to content

Commit 152169e

Browse files
committed
Fix typo when container does not exist
Signed-off-by: William Martin <[email protected]>
1 parent d9fec4c commit 152169e

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
@@ -277,7 +277,7 @@ func (l *LinuxFactory) loadState(root, id string) (*State, error) {
277277
f, err := os.Open(filepath.Join(root, stateFilename))
278278
if err != nil {
279279
if os.IsNotExist(err) {
280-
return nil, newGenericError(fmt.Errorf("container %q does not exists", id), ContainerNotExists)
280+
return nil, newGenericError(fmt.Errorf("container %q does not exist", id), ContainerNotExists)
281281
}
282282
return nil, newGenericError(err, SystemError)
283283
}

0 commit comments

Comments
 (0)