Skip to content

Commit

Permalink
libct/error: rm ConsoleExists
Browse files Browse the repository at this point in the history
It is not used since commit 244c9fc.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Jun 22, 2021
1 parent d8de1a7 commit 18aa2cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libcontainer/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const (

// Common errors
ConfigInvalid
ConsoleExists
SystemError
)

Expand All @@ -45,8 +44,6 @@ func (c ErrorCode) String() string {
return "Container is not stopped"
case ContainerNotRunning:
return "Container is not running"
case ConsoleExists:
return "Console exists for process"
case ContainerNotPaused:
return "Container is not paused"
case NoProcessOps:
Expand Down

0 comments on commit 18aa2cc

Please sign in to comment.