From 22c363b772bbc015bb6f346b35c52d5033c107de Mon Sep 17 00:00:00 2001 From: Artsiom <82237255+ArtsiomAntropau@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:52:49 +0100 Subject: [PATCH] GCLOUD2-11717: remove omitempty for lb HealthMonitor (#97) * GCLOUD2-11717: remove omitempty for lb HealthMonitor --- gcore/loadbalancer/v1/lbpools/requests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcore/loadbalancer/v1/lbpools/requests.go b/gcore/loadbalancer/v1/lbpools/requests.go index 39cd855a..db37514f 100644 --- a/gcore/loadbalancer/v1/lbpools/requests.go +++ b/gcore/loadbalancer/v1/lbpools/requests.go @@ -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"`