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

fix: provider configuration validation #239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tenthirtyam
Copy link
Contributor

Summary of Pull Request

Updates the provider configuration to address the issue where the function assumes the configuration is for Cloud Builder if the SDDC Manager username is not provided.

Added a check to ensure that at least one of the configurations is provided. If neither is provided, we can return an appropriate error message.

Type of Pull Request

  • This is a bug fix.
  • This is an enhancement or feature.
  • This is a code style/formatting update.
  • This is a documentation update.
  • This is a refactoring update.
  • This is a chore update
  • This is something else.
    Please describe:

Related to Existing Issues

Closes #238

Test and Documentation Coverage

For bug fixes or features:

  • Tests have been completed.
  • Documentation has been added/updated.

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Updates the provider configuration to address the issue where the function assumes the configuration is for Cloud Builder if the SDDC Manager username is not provided.

Added a check to ensure that at least one of the configurations is provided. If neither is provided, we can return an appropriate error message.

Ref #238

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam tenthirtyam added the provider Provider label Sep 18, 2024
@tenthirtyam tenthirtyam added this to the v0.11.0 milestone Sep 18, 2024
@tenthirtyam tenthirtyam self-assigned this Sep 18, 2024
@github-actions github-actions bot added the needs-review Needs Review label Sep 18, 2024
@tenthirtyam tenthirtyam added the bug Bug label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug needs-review Needs Review provider Provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improper Error message for missing SDDC info
1 participant