Added container ID to containerd task delete event messages
Signed-off-by: Cam <gh@sparr.email>
This commit is contained in:
parent
c2cc352355
commit
80a5df9c49
1 changed files with 7 additions and 0 deletions
|
@ -862,6 +862,13 @@ func (c *client) processEventStream(ctx context.Context, ns string) {
|
|||
ei = libcontainerdtypes.EventInfo{
|
||||
ContainerID: t.ContainerID,
|
||||
}
|
||||
case *apievents.TaskDelete:
|
||||
c.logger.WithFields(logrus.Fields{
|
||||
"topic": ev.Topic,
|
||||
"type": reflect.TypeOf(t),
|
||||
"container": t.ContainerID},
|
||||
).Info("ignoring event")
|
||||
continue
|
||||
default:
|
||||
c.logger.WithFields(logrus.Fields{
|
||||
"topic": ev.Topic,
|
||||
|
|
Loading…
Reference in a new issue