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

Support hash Snippet Types #211

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Conversation

soldiermoth
Copy link
Contributor

The type "hash" appears to be missing from the list of valid Snippet Types.
Fastly's documentation for allowable types https://docs.fastly.com/api/config#api-section-snippet

The type `"hash"` appears to be missing from the list of valid Snippet Types.
Fastly's documentation for allowable types https://docs.fastly.com/api/config#api-section-snippet
@ghost ghost added the size/XS label Feb 24, 2020
@soldiermoth
Copy link
Contributor Author

It looks like the Travis build passed but is still showing Pending in GitHub: https://travis-ci.org/terraform-providers/terraform-provider-fastly/builds/654597126?utm_medium=notification&utm_source=github_status

@soldiermoth soldiermoth reopened this Feb 28, 2020
@soldiermoth
Copy link
Contributor Author

Is there a process for getting this looked at?

Copy link
Member

@philippschulte philippschulte left a comment

Choose a reason for hiding this comment

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

@soldiermoth thanks for your contribution and sorry for the delay in getting back to you! Every validator is covered by unit tests. Therefore, please add the new type to TestValidateSnippetType located at fastly/validators_test.go. Thank you

@soldiermoth
Copy link
Contributor Author

@philippschulte No worries, thanks for getting back to me. Happy to add it to those tests, should be good to go now.

Copy link
Member

@philippschulte philippschulte left a comment

Choose a reason for hiding this comment

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

@soldiermoth thanks for updating the test. I also wanted to confirm @phamann is happy with this before merging.

Copy link
Member

@phamann phamann left a comment

Choose a reason for hiding this comment

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

Apologies for the delayed response, yes I'm happy 👍

Thank you for your contribution @soldiermoth

@philippschulte philippschulte merged commit 9b5aaee into fastly:master Mar 25, 2020
@soldiermoth soldiermoth deleted the patch-1 branch June 9, 2022 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants