Skip to content

ctr events is broken in 1.1.0 #2308

@aanm

Description

@aanm

Description

client subscribe events is broken

Steps to reproduce the issue:

  1. sudo ctr -n default events 'topic~="/containers/create"'
  2. sudo ctr -n default run -rm -t docker.io/library/busybox:latest test
  3. the ctr -n default events is closed when the container exits and there are no events showed

Not affected:
ctr github.com/containerd/containerd v1.0.3
ctr github.com/containerd/containerd v1.0.0-6-g6c7abf7

Affected:
ctr github.com/containerd/containerd 1.1.0-rc.0
ctr github.com/containerd/containerd 1.1.0-rc.2
ctr github.com/containerd/containerd 1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions