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

Validate Consul datacenter and lowercase the default #57

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

alexmunda
Copy link
Contributor

While updating some of the HCP Consul E2E tests to use the new provider, I noticed that we were not validating that the Consul cluster datacenter does not contain uppercase letters.
This PR validates the datacenter as such, as well as cleans up some comments.

Copy link
Contributor

@bcmdarroch bcmdarroch left a comment

Choose a reason for hiding this comment

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

Good catch! I wonder if there's more validation of API behavior we need to do, or if the e2e tests will be enough 💭

Copy link
Contributor

@roaks3 roaks3 left a comment

Choose a reason for hiding this comment

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

Looks great!

@alexmunda alexmunda merged commit 3697159 into main Feb 3, 2021
@alexmunda alexmunda deleted the lower-datacenter branch February 3, 2021 22:39
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.

3 participants