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 Main attribute to CreateVCLInput #93

Merged
merged 1 commit into from Jan 4, 2019
Merged

Conversation

miyagawa
Copy link
Contributor

@miyagawa miyagawa commented Jan 3, 2019

This PR adds Main attribute to the CreateVCLInput struct so that it allows you to create a new VCL object as a main VCL rather than creating it as non-main and then set to main with a separate request.

https://docs.fastly.com/api/config#vcl

main | boolean | Set to true when this is the main VCL, otherwise false

fastly/vcl.go Outdated Show resolved Hide resolved
Copy link
Member

@thommahoney thommahoney left a comment

Choose a reason for hiding this comment

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

looks good to me

@sethvargo sethvargo merged commit c411462 into fastly:master Jan 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants