Skip to content

Commit

Permalink
SEPARATE ME: add omitempty to api prepared query targets
Browse files Browse the repository at this point in the history
  • Loading branch information
nfi-hashicorp committed Jun 29, 2023
1 parent 6124ac9 commit c2bbe67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/prepared_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ type QueryFailoverTarget struct {

// Partition specifies a partition to try during failover
// Note: Partition are available only in Consul Enterprise
Partition string
Partition string `json:",omitempty"`

// Namespace specifies a namespace to try during failover
// Note: Namespaces are available only in Consul Enterprise
Namespace string
Namespace string `json:",omitempty"`
}

// QueryDNSOptions controls settings when query results are served over DNS.
Expand Down

0 comments on commit c2bbe67

Please sign in to comment.