-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move types not used by zedrouter out of zedroutertypes.go #3513
Move types not used by zedrouter out of zedroutertypes.go #3513
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but it makes sense to address the yetus complaints (by code changes or with comments to silence them as appproriate).
I'm on it. Will restart other failed workflows once this is fixed: golang/go#63684 |
LGTM, this is not related to this PR, but unit tests started to fail |
This is due to golang/go#63684 |
785647d
to
7a11a31
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3513 +/- ##
==========================================
- Coverage 20.51% 20.50% -0.01%
==========================================
Files 203 209 +6
Lines 45430 45391 -39
==========================================
- Hits 9319 9308 -11
+ Misses 35430 35401 -29
- Partials 681 682 +1
☔ View full report in Codecov by Sentry. |
zedroutertypes.go currently contains all types related to networking, including those which are actually used from NIM. This makes the file very long and hard to work with. In this commit, we take types not used from zedrouter out of zedroutertypes.go and move them into separate Go files. Apart from moving type definitions and their methods around, there are no actual code changes made here. Signed-off-by: Milan Lenco <milan@zededa.com>
7a11a31
to
f70d710
Compare
All relevant Yetus issues have been fixed. |
zedroutertypes.go
currently contains all types related to networking, including those which are actually used from NIM. This makes the file very long and hard to work with. In this commit, we take types not used from zedrouter out ofzedroutertypes.go
and move them into separate Go files. Apart from moving type definitions and their methods around, there are no actual code changes made here.