From 7f1f4e7a149a52d54b8e05b0c54fe8ed89921da7 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Mon, 12 Nov 2018 14:34:36 -0800 Subject: [PATCH] Remove invalid TODO comment. Signed-off-by: Lantao Liu --- pkg/server/events.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/server/events.go b/pkg/server/events.go index 4681000df..165b69d85 100644 --- a/pkg/server/events.go +++ b/pkg/server/events.go @@ -194,10 +194,6 @@ func (em *eventMonitor) handleEvent(any interface{}) error { defer cancel() switch any.(type) { - // If containerd-shim exits unexpectedly, there will be no corresponding event. - // However, containerd could not retrieve container state in that case, so it's - // fine to leave out that case for now. - // TODO(random-liu): [P2] Handle containerd-shim exit. case *eventtypes.TaskExit: e := any.(*eventtypes.TaskExit) logrus.Infof("TaskExit event %+v", e)