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

Allow empty password parameter on DBaaS user update #244

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

christhemorse
Copy link
Contributor

Description

Quick fix to allow empty DBaaS user password parameter to pass through to the Vultr API in order to automatically generate a secure new one. omitempty here was hitting a validation error since it removes the parameter from the request body altogether and it needs to at least be set as empty as a sort of user confirmation that they do indeed want to update the db user's password.

Copy link
Member

@optik-aper optik-aper left a comment

Choose a reason for hiding this comment

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

Looks good

@optik-aper optik-aper merged commit bfde168 into vultr:master Mar 22, 2023
@optik-aper optik-aper added the bug Something isn't working label Mar 22, 2023
@optik-aper optik-aper assigned optik-aper and unassigned optik-aper Mar 22, 2023
@christhemorse christhemorse deleted the dbaas-user-update-fix branch March 22, 2023 19:45
@optik-aper optik-aper mentioned this pull request Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants