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

Remove omitempty from SSLCheckCert field #294

Merged

Conversation

smaeda-ks
Copy link
Contributor

A customer noticed this when using our Terraform provider (and it actually caused an incident for them). This is a sad case but we need to be careful when setting omitempty tag especially if our API sets true as the default value.

We could use a pointer instead, but in this particular case, I figured removing the omitempty tag is a safer change for backward compatibility.

Once this PR is merged and a new go-fastly version is released, I will make a separate PR on the Terraform provider repo to bump the current require version to the latest version, which also requires some minor changes related to the recent breaking changes in go-fastly.

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.

2 participants