Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libcontainer/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ type Container interface {
// errors:
// ContainerDestroyed - Container no longer exists,
// ConfigInvalid - config is invalid,
// ContainerPaused - Container is paused,
// Systemerror - System error.
Start(process *Process) (err error)

Expand Down
3 changes: 0 additions & 3 deletions libcontainer/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const (

// Container errors
ContainerNotExists
ContainerPaused
ContainerNotStopped
ContainerNotRunning

Expand All @@ -31,8 +30,6 @@ func (c ErrorCode) String() string {
return "Id already in use"
case InvalidIdFormat:
return "Invalid format"
case ContainerPaused:
return "Container paused"
case ConfigInvalid:
return "Invalid configuration"
case SystemError:
Expand Down
1 change: 0 additions & 1 deletion libcontainer/error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ func TestErrorCode(t *testing.T) {
codes := map[ErrorCode]string{
IdInUse: "Id already in use",
InvalidIdFormat: "Invalid format",
ContainerPaused: "Container paused",
ConfigInvalid: "Invalid configuration",
SystemError: "System error",
ContainerNotExists: "Container does not exist",
Expand Down