-
Notifications
You must be signed in to change notification settings - Fork 116
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
Remove Permissions From Fetcher #1839
Conversation
state/keys.go
Outdated
// Strip returns the database keys of k | ||
func (k Keys) Strip() []string { |
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.
Could we rename this to either Keys()
, KeysWithoutPermissions()
, or WithoutPermissions()
?
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.
Will rename to WithoutPermissions()
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.
Done
Signed-off-by: aaronbuchwald <aaron.buchwald56@gmail.com>
This PR removes permissions from
Fetcher
by having it take in a slice of strings (i.e. database keys) instead ofstate.Keys
.This PR also modifies the
Fetcher
tests to natively use database keys instead of state keys.