Skip to content

Commit

Permalink
CDI-623: remove omitempty from UseNext (Origin Group structs)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-lukyanchyk committed Sep 9, 2024
1 parent fbc1def commit 5dbf266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions origingroups/origingroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand All @@ -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"`
Expand Down

0 comments on commit 5dbf266

Please sign in to comment.