Support for msec time interval in Events
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Start with runc.go around line 352 and reproduce the reported behavior using runc events --interval 0.5s <id>. Trace how the millisecond time.Duration is converted and verify that a fractional-second interval no longer produces a nil Events channel.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Go
- Stars
- 177
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/go-runc
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
containerd/go-runc#110 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
containerd/go-runc#94 · 3 comments ·
-
Add more statsOpen
Difficulty 4/5 3-5 days Newbie friendliness 30/100
containerd/go-runc#85 ·
-
Enable passing the --auto-dedup flagPossibly taken @austinvazquez claimed this 1131 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
containerd/go-runc#73 · 1 comment ·
-
Go-runc example?Openquestion
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
containerd/go-runc#33 · 5 comments ·
All issues in containerd/go-runc
Similar issues
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jordansmall/spindrift#7895 ·
Maintainers usually reply within 1 day
-
documentation priority: medium skill: intermediate status: ready for dev
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
hyperledger-labs/fabric-smart-client#2830 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
P3 tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day