-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add the ability to use multiple paths for capability checking #3663
Conversation
(tests, docs). Fixes #3336
vault/logical_system.go
Outdated
} | ||
|
||
if len(paths) == 0 { | ||
return nil, 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.
Should we return a "paths not provided" or similar error in this case?
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.
Yes, it should. Fixed.
@vishalnayak I can't hit Approve on my own PR but I think this LGTM :-) Merge when you like! |
Fixes #3336