go-runc icon indicating copy to clipboard operation
go-runc copied to clipboard

Support for msec time interval in Events

Open ChethanSuresh opened this issue 6 years ago • 0 comments

runc events supports time intervals for msec. Example

# runc events --interval 0.5s <id>

The below line converts millisecond time.Duration API call to int, making the interval 0. Thus nil Events channel

https://github.com/containerd/go-runc/blob/9007c2405372fe28918845901a3276c0915689a1/runc.go#L352

Is there any specific reason?

ChethanSuresh avatar Aug 03 '19 12:08 ChethanSuresh