Skip to content

Commit

Permalink
remove omitempty from non-computed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinzeng committed Feb 14, 2024
1 parent de061aa commit cdef7f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions clickhouse/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ type ServicePrivateEndpointConfig struct {

type Service struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Provider string `json:"provider,omitempty"`
Region string `json:"region,omitempty"`
Tier string `json:"tier,omitempty"`
IdleScaling bool `json:"idleScaling,omitempty"`
Name string `json:"name"`
Provider string `json:"provider"`
Region string `json:"region"`
Tier string `json:"tier"`
IdleScaling bool `json:"idleScaling"`
IpAccessList []IpAccess `json:"ipAccessList"`
MinTotalMemoryGb int `json:"minTotalMemoryGb,omitempty"`
MaxTotalMemoryGb int `json:"maxTotalMemoryGb,omitempty"`
IdleTimeoutMinutes int `json:"idleTimeoutMinutes,omitempty"`
MinTotalMemoryGb int `json:"minTotalMemoryGb"`
MaxTotalMemoryGb int `json:"maxTotalMemoryGb"`
IdleTimeoutMinutes int `json:"idleTimeoutMinutes"`
State string `json:"state,omitempty"`
Endpoints []Endpoint `json:"endpoints,omitempty"`
IAMRole string `json:"iamRole,omitempty"`
Expand Down

0 comments on commit cdef7f9

Please sign in to comment.