Clean up the constants in 'libcontainerd' that are no longer in use
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn> update Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
parent
0aaef963a8
commit
1ad989559f
2 changed files with 7 additions and 10 deletions
|
@ -32,7 +32,6 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
maxConnectionRetryCount = 3
|
maxConnectionRetryCount = 3
|
||||||
connectionRetryDelay = 3 * time.Second
|
|
||||||
containerdHealthCheckTimeout = 3 * time.Second
|
containerdHealthCheckTimeout = 3 * time.Second
|
||||||
containerdShutdownTimeout = 15 * time.Second
|
containerdShutdownTimeout = 15 * time.Second
|
||||||
containerdBinary = "docker-containerd"
|
containerdBinary = "docker-containerd"
|
||||||
|
|
|
@ -9,15 +9,13 @@ import (
|
||||||
|
|
||||||
// State constants used in state change reporting.
|
// State constants used in state change reporting.
|
||||||
const (
|
const (
|
||||||
StateStart = "start-container"
|
StateStart = "start-container"
|
||||||
StatePause = "pause"
|
StatePause = "pause"
|
||||||
StateResume = "resume"
|
StateResume = "resume"
|
||||||
StateExit = "exit"
|
StateExit = "exit"
|
||||||
StateRestore = "restore"
|
StateRestore = "restore"
|
||||||
StateStartProcess = "start-process"
|
StateExitProcess = "exit-process"
|
||||||
StateExitProcess = "exit-process"
|
StateOOM = "oom" // fake state
|
||||||
StateOOM = "oom" // fake state
|
|
||||||
stateLive = "live"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommonStateInfo contains the state info common to all platforms.
|
// CommonStateInfo contains the state info common to all platforms.
|
||||||
|
|
Loading…
Reference in a new issue