Skip to content

Fix inconsistent handling of stale defaults - #931

Open
mihaelabalutoiu wants to merge 1 commit into
cloudbase:mainfrom
mihaelabalutoiu:fix-stale-config-defaults
Open

Fix inconsistent handling of stale defaults#931
mihaelabalutoiu wants to merge 1 commit into
cloudbase:mainfrom
mihaelabalutoiu:fix-stale-config-defaults

Conversation

@mihaelabalutoiu

Copy link
Copy Markdown
Member

This PR implements the following:

  • Fix inconsistent handling of stale defaults:
    • Treat a config_default that is not among the values returned by the provider as no value, so required fields block the wizard instead of silently passing validation. Options with no list of values keep their configured default;
  • Add more test cases for WizardOptions.

Treat a `config_default` that is not among the values returned by the
provider as no value, so the required field blocks the wizard instead
of silently passing validation. Options with no list of values keep
their configured default.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
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.

1 participant