Remove invalid TODO comment.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
47542c9515
commit
7f1f4e7a14
@ -194,10 +194,6 @@ func (em *eventMonitor) handleEvent(any interface{}) error {
|
|||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
switch any.(type) {
|
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:
|
case *eventtypes.TaskExit:
|
||||||
e := any.(*eventtypes.TaskExit)
|
e := any.(*eventtypes.TaskExit)
|
||||||
logrus.Infof("TaskExit event %+v", e)
|
logrus.Infof("TaskExit event %+v", e)
|
||||||
|
Loading…
Reference in New Issue
Block a user