Update containerd and leverage plugin graceful stop.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-01-23 22:46:01 +00:00
parent 31845714ef
commit 635e5747c0
15 changed files with 188 additions and 61 deletions

1
cri.go
View File

@@ -51,7 +51,6 @@ func init() {
func initCRIService(ic *plugin.InitContext) (interface{}, error) {
ctx := ic.Context
// TODO(random-liu): Handle graceful stop.
pluginConfig := ic.Config.(*options.PluginConfig)
c := options.CRIConfig{
PluginConfig: *pluginConfig,