Fix return error message

Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss
2018-12-30 18:08:04 +08:00
parent e98e307f3f
commit 55fb3b9fce
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ func (c *criService) recover(ctx context.Context) error {
// * ListContainerStats: Not in critical code path, a default timeout will
// be applied at CRI level.
// * Recovery logic: We should set a time for each container/sandbox recovery.
// * Event montior: We should set a timeout for each container/sandbox event handling.
// * Event monitor: We should set a timeout for each container/sandbox event handling.
const loadContainerTimeout = 10 * time.Second
// loadContainer loads container from containerd and status checkpoint.