From 152169ed34b1bf263392ad124cf095dc8f79b5dd Mon Sep 17 00:00:00 2001 From: William Martin Date: Wed, 28 Sep 2016 10:37:19 +0000 Subject: [PATCH] Fix typo when container does not exist Signed-off-by: William Martin --- libcontainer/factory_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/factory_linux.go b/libcontainer/factory_linux.go index 0abc2c5a2..c442633a6 100644 --- a/libcontainer/factory_linux.go +++ b/libcontainer/factory_linux.go @@ -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) }