Skip to content

Commit

Permalink
Merge pull request #43 from G-Core/feature/CDM-285-terraform-changes
Browse files Browse the repository at this point in the history
CDM-285: remove the omitempty attr from the SecondaryHostnames field to allow set empty array from Terraform
  • Loading branch information
andrei-lukyanchyk authored Nov 27, 2023
2 parents 4eca9f9 + 9ca78f4 commit 8cfa59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type UpdateRequest struct {
Active bool `json:"active"`
OriginGroup int `json:"originGroup"`
OriginProtocol Protocol `json:"originProtocol,omitempty"`
SecondaryHostnames []string `json:"secondaryHostnames,omitempty"`
SecondaryHostnames []string `json:"secondaryHostnames"`
SSlEnabled bool `json:"sslEnabled"`
SSLData int `json:"sslData,omitempty"`
SSLAutomated bool `json:"ssl_automated"`
Expand Down

0 comments on commit 8cfa59f

Please sign in to comment.