-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
bootstrap: add String
method to ServerConfigs type
#7537
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7537 +/- ##
==========================================
+ Coverage 81.82% 81.86% +0.04%
==========================================
Files 360 360
Lines 27533 27508 -25
==========================================
- Hits 22528 22520 -8
+ Misses 3804 3793 -11
+ Partials 1201 1195 -6
|
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.
Overall LGTM, unless you think the stringer method might benefit from unit tests.
Also on a side note: Should we modify NewContentsForTesting
to Unmarshal to ServerConfigs directly?
That's a good idea. Did that. |
Thought about it. It will mostly be used only for logging and/or debugging. So. I'm not too worried about not having unit tests for that. In fact, we don't want anything to rely on this output being stable. |
RELEASE NOTES: none