-
Notifications
You must be signed in to change notification settings - Fork 99
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
refactor: make credentials.NewMemoryStore return an interface #605
Conversation
Signed-off-by: Lixia (Sylvia) Lei <[email protected]>
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## main #605 +/- ##
==========================================
- Coverage 74.64% 74.45% -0.19%
==========================================
Files 59 59
Lines 5266 5266
==========================================
- Hits 3931 3921 -10
- Misses 983 991 +8
- Partials 352 354 +2
|
@uanid Please take a look at this change |
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
How about changing FileStore to a private too? |
Sounds like a good idea, but subject of another PR, although I don't know if it is practical. |
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
LGTM too |
But that would require users to specify an extra parameter on initialization. I think it's ok to keep |
The point of having |
credentials.MemoryStore
as it is unecessary to be publiccredentials.NewMemoryStore
return an interface instead of a struct