Description
client subscribe events is broken
Steps to reproduce the issue:
sudo ctr -n default events 'topic~="/containers/create"'
sudo ctr -n default run -rm -t docker.io/library/busybox:latest test
- 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
Description
client subscribe events is broken
Steps to reproduce the issue:
sudo ctr -n default events 'topic~="/containers/create"'sudo ctr -n default run -rm -t docker.io/library/busybox:latest testctr -n default eventsis closed when the container exits and there are no events showedNot affected:
ctr github.com/containerd/containerd v1.0.3ctr github.com/containerd/containerd v1.0.0-6-g6c7abf7Affected:
ctr github.com/containerd/containerd 1.1.0-rc.0ctr github.com/containerd/containerd 1.1.0-rc.2ctr github.com/containerd/containerd 1.1.0