-
Notifications
You must be signed in to change notification settings - Fork 48
refactor: use generic request for actions calls #624
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #624 +/- ##
==========================================
+ Coverage 71.98% 77.33% +5.34%
==========================================
Files 49 49
Lines 4348 3971 -377
==========================================
- Hits 3130 3071 -59
+ Misses 909 685 -224
+ Partials 309 215 -94 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
A few calls where the wrong schema struct is being used. All of them were already wrong before this commit, I just noticed it while reviewing, not necessary to fix in this PR.
|
||
var respBody PrimaryIPAssignResult | ||
resp, err := c.client.Do(req, &respBody) | ||
respBody, resp, err := postRequest[PrimaryIPAssignResult](ctx, c.client, reqPath, nil) |
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.
This uses a PrimaryIPAssignResult
but its the Unassign
call.
This does not include the fixes for the primary ip client, because those changes are more involved. Related to the comments in #624
No description provided.