-
Notifications
You must be signed in to change notification settings - Fork 36
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
Client opts fixes #354
Client opts fixes #354
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #354 +/- ##
==========================================
+ Coverage 44.68% 44.96% +0.28%
==========================================
Files 54 54
Lines 4178 4203 +25
==========================================
+ Hits 1867 1890 +23
- Misses 2101 2105 +4
+ Partials 210 208 -2
☔ View full report in Codecov by Sentry. |
067d223
to
e69320e
Compare
client.go
Outdated
} | ||
|
||
// register ASRR vendorapi provider | ||
func (c *Client) registerASRRProvider() error { |
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 func will never return an error. i would suggest not having any return value.
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.
That was mainly keeping the pattern from the above function since I was looking into if these could be turned into an interface method which providers implement to register themselves so this can be moved into each provider.
I can remove the extra error returns for now.
What does this PR implement/change/remove?
Checklist
The HW vendor this change applies to (if applicable)
The HW model number, product name this change applies to (if applicable)
The BMC firmware and/or BIOS versions that this change applies to (if applicable)
What version of tooling - vendor specific or opensource does this change depend on (if applicable)
Description for changelog/release notes