From 248c58650009f696c732f3548343d8d54d04c9c3 Mon Sep 17 00:00:00 2001 From: CuiHaozhi Date: Fri, 7 Apr 2017 07:39:41 -0400 Subject: [PATCH] could load a stopped container. Signed-off-by: CuiHaozhi --- libcontainer/factory.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcontainer/factory.go b/libcontainer/factory.go index f0ccb52e39d..0986cd77e3f 100644 --- a/libcontainer/factory.go +++ b/libcontainer/factory.go @@ -10,7 +10,7 @@ type Factory interface { // between 1 and 1024 characters, inclusive. // // The id must not already be in use by an existing container. Containers created using - // a factory with the same path (and file system) must have distinct ids. + // a factory with the same path (and filesystem) must have distinct ids. // // Returns the new container with a running process. // @@ -28,7 +28,6 @@ type Factory interface { // // errors: // Path does not exist - // Container is stopped // System error Load(id string) (Container, error)