containerd / go-runc

runc bindings for Go
Apache License 2.0
162 stars 73 forks source link

fix opts maybe nill err #81

Closed ningmingxiao closed 1 year ago

ningmingxiao commented 2 years ago

Signed-off-by: ningmingxiao ning.mingxiao@zte.com.cn

codecov-commenter commented 2 years ago

Codecov Report

Base: 21.45% // Head: 20.69% // Decreases project coverage by -0.77% :warning:

Coverage data is based on head (0c71c7f) compared to base (1c99ade). Patch coverage: 37.50% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #81 +/- ## ========================================== - Coverage 21.45% 20.69% -0.77% ========================================== Files 7 7 Lines 685 715 +30 ========================================== + Hits 147 148 +1 - Misses 500 527 +27 - Partials 38 40 +2 ``` | [Impacted Files](https://codecov.io/gh/containerd/go-runc/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) | Coverage Δ | | |---|---|---| | [runc.go](https://codecov.io/gh/containerd/go-runc/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cnVuYy5nbw==) | `21.01% <37.50%> (-0.07%)` | :arrow_down: | | [monitor.go](https://codecov.io/gh/containerd/go-runc/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-bW9uaXRvci5nbw==) | `40.90% <0.00%> (-49.10%)` | :arrow_down: | | [io.go](https://codecov.io/gh/containerd/go-runc/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-aW8uZ28=) | `6.45% <0.00%> (ø)` | | | [console.go](https://codecov.io/gh/containerd/go-runc/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-Y29uc29sZS5nbw==) | `24.05% <0.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

ningmingxiao commented 1 year ago

done thankyou @austinvazquez