Skip to content

Commit

Permalink
CDM-285: remove the omitempty attr from the SecondaryHostnames field …
Browse files Browse the repository at this point in the history
…to allow set empty array from Terraform
  • Loading branch information
andrei-lukyanchyk committed Nov 27, 2023
1 parent 4eca9f9 commit 9ca78f4
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 9ca78f4

Please sign in to comment.