1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #27849 from miaoyq/clean-up-redundant-constants

Clean up the constants in 'libcontainerd' that are no longer in use
This commit is contained in:
Brian Goff 2016-11-02 23:01:59 -04:00 committed by GitHub
commit 877c860428
2 changed files with 7 additions and 10 deletions

View file

@ -32,7 +32,6 @@ import (
const (
maxConnectionRetryCount = 3
connectionRetryDelay = 3 * time.Second
containerdHealthCheckTimeout = 3 * time.Second
containerdShutdownTimeout = 15 * time.Second
containerdBinary = "docker-containerd"

View file

@ -9,15 +9,13 @@ import (
// State constants used in state change reporting.
const (
StateStart = "start-container"
StatePause = "pause"
StateResume = "resume"
StateExit = "exit"
StateRestore = "restore"
StateStartProcess = "start-process"
StateExitProcess = "exit-process"
StateOOM = "oom" // fake state
stateLive = "live"
StateStart = "start-container"
StatePause = "pause"
StateResume = "resume"
StateExit = "exit"
StateRestore = "restore"
StateExitProcess = "exit-process"
StateOOM = "oom" // fake state
)
// CommonStateInfo contains the state info common to all platforms.