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

Add txt_name & txt_value fields (DNS validation) to CustomHostname struct #669

Merged
merged 2 commits into from
Jul 19, 2021

Conversation

cdloh
Copy link
Contributor

@cdloh cdloh commented Jul 14, 2021

Description

Adds txt_name and txt_value fields to CustomHostname struct that are needed for SSL Verification when using the txt method

Has your change been tested?

No unit tests yet. Unsure if needed.

Types of changes

What sort of change does your code introduce/modify?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…ruct

Signed-off-by: Callum Loh <callumloh@gmail.com>
@jacobbednarz
Copy link
Member

unit tests please. you should be able to update existing HTTP mock responses and assert the struct values match.

Signed-off-by: Callum Loh <callumloh@gmail.com>
@cdloh
Copy link
Contributor Author

cdloh commented Jul 14, 2021

Added!

@cdloh
Copy link
Contributor Author

cdloh commented Jul 14, 2021

Note I've added it as a seperate test as all the other tests used HTTP validation.

@jacobbednarz jacobbednarz merged commit ebdfa3a into cloudflare:master Jul 19, 2021
@jacobbednarz
Copy link
Member

thanking you! 👏

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.

None yet

2 participants