Skip to content

Commit

Permalink
GCLOUD2-11717: remove omitempty for lb HealthMonitor (#97)
Browse files Browse the repository at this point in the history
* GCLOUD2-11717: remove omitempty for lb HealthMonitor
  • Loading branch information
ArtsiomAntropau authored Dec 18, 2023
1 parent b76d4e9 commit 22c363b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcore/loadbalancer/v1/lbpools/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ type UpdateOpts struct {
Members []CreatePoolMemberOpts `json:"members,omitempty"`
Protocol types.ProtocolType `json:"protocol,omitempty"`
LBPoolAlgorithm types.LoadBalancerAlgorithm `json:"lb_algorithm,omitempty"`
HealthMonitor *CreateHealthMonitorOpts `json:"healthmonitor,omitempty"`
HealthMonitor *CreateHealthMonitorOpts `json:"healthmonitor"`
SessionPersistence *CreateSessionPersistenceOpts `json:"session_persistence"`
TimeoutClientData int `json:"timeout_client_data"`
TimeoutMemberData int `json:"timeout_member_data"`
Expand Down

0 comments on commit 22c363b

Please sign in to comment.