AliyunContainerService / terway

CNI plugin for Alibaba Cloud VPC/ENI
https://www.aliyun.com/product/kubernetes
Apache License 2.0
551 stars 153 forks source link

pass ctx in cni call #705

Closed l1b0k closed 3 weeks ago

l1b0k commented 3 weeks ago

replace default log to klog deprecated vpc route

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 23.70690% with 177 lines in your changes missing coverage. Please review.

Project coverage is 19.85%. Comparing base (6a4a716) to head (2d1d7e9). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
plugin/terway/cni_linux.go 0.00% 35 Missing :warning:
plugin/terway/cni.go 0.00% 31 Missing :warning:
plugin/driver/utils/netlink_linux.go 6.25% 30 Missing :warning:
plugin/driver/utils/utils_linux.go 26.82% 28 Missing and 2 partials :warning:
plugin/driver/utils/utils.go 0.00% 13 Missing :warning:
plugin/datapath/ipvlan_linux.go 55.55% 11 Missing and 1 partial :warning:
plugin/datapath/vlan_linux.go 0.00% 8 Missing :warning:
plugin/datapath/exclusive_eni_linux.go 50.00% 6 Missing :warning:
plugin/datapath/policy_router_linux.go 58.33% 5 Missing :warning:
plugin/driver/vlan/vlan.go 0.00% 4 Missing :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #705 +/- ## ========================================== - Coverage 20.27% 19.85% -0.42% ========================================== Files 125 123 -2 Lines 17005 16809 -196 ========================================== - Hits 3447 3338 -109 + Misses 13170 13094 -76 + Partials 388 377 -11 ``` | [Flag](https://app.codecov.io/gh/AliyunContainerService/terway/pull/705/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/AliyunContainerService/terway/pull/705/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService) | `19.85% <23.70%> (-0.42%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.