From 5dbf26608639030ee83eb30cdd60e1209c93dd42 Mon Sep 17 00:00:00 2001 From: Andrei Lukyanchyk Date: Mon, 9 Sep 2024 14:23:18 +0300 Subject: [PATCH] CDI-623: remove omitempty from UseNext (Origin Group structs) --- origingroups/origingroups.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/origingroups/origingroups.go b/origingroups/origingroups.go index 7c3a0a2..dd41e95 100644 --- a/origingroups/origingroups.go +++ b/origingroups/origingroups.go @@ -14,7 +14,7 @@ type OriginGroupService interface { type GroupRequest struct { Name string `json:"name"` AuthType string `json:"auth_type,omitempty"` - UseNext bool `json:"use_next,omitempty"` + UseNext bool `json:"use_next"` Sources []SourceRequest `json:"sources,omitempty"` Auth *AuthS3 `json:"auth,omitempty"` ProxyNextUpstream []string `json:"proxy_next_upstream"` @@ -30,7 +30,7 @@ type OriginGroup struct { ID int64 `json:"id"` Name string `json:"name"` AuthType string `json:"auth_type,omitempty"` - UseNext bool `json:"use_next,omitempty"` + UseNext bool `json:"use_next"` Sources []Source `json:"sources,omitempty"` Auth *AuthS3 `json:"auth,omitempty"` ProxyNextUpstream []string `json:"proxy_next_upstream"`