Skip to content
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

api: make ListPlugins parse only known plugin types #15434

Merged
merged 2 commits into from
May 17, 2022

Conversation

tomhjp
Copy link
Contributor

@tomhjp tomhjp commented May 16, 2022

Currently, adding a new type to the top-level keys of response data will break client code if it's not a plugin type that the client already knows about. This PR makes it only iterate over known plugin types instead to make it more resilient to any future changes.

@tomhjp tomhjp requested a review from calvn May 16, 2022 11:22
@tomhjp tomhjp added this to the 1.11.0-rc1 milestone May 16, 2022
Copy link
Contributor

@swenson swenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomhjp tomhjp merged commit 01fd266 into main May 17, 2022
@tomhjp tomhjp deleted the api-list-known-plugin-types branch May 17, 2022 16:41
Gabrielopesantos pushed a commit to Gabrielopesantos/vault that referenced this pull request Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants