could load a stopped container.

Signed-off-by: CuiHaozhi <cuihz@wise2c.com>
This commit is contained in:
CuiHaozhi 2017-04-07 07:39:41 -04:00
parent ac50e77bbb
commit 248c586500
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@ type Factory interface {
// between 1 and 1024 characters, inclusive. // between 1 and 1024 characters, inclusive.
// //
// The id must not already be in use by an existing container. Containers created using // 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. // Returns the new container with a running process.
// //
@ -28,7 +28,6 @@ type Factory interface {
// //
// errors: // errors:
// Path does not exist // Path does not exist
// Container is stopped
// System error // System error
Load(id string) (Container, error) Load(id string) (Container, error)