Skip to content

Commit

Permalink
add region field (#16825)
Browse files Browse the repository at this point in the history
* add region field

* fix syntax error in test file

* go fmt

* go fmt

* remove test
  • Loading branch information
malizz authored Mar 31, 2023
1 parent 3e6f8b7 commit fc64a70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/config_entry_discoverychain.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ type ServiceResolverFailoverTarget struct {
}

type ServiceResolverFailoverPolicy struct {
Mode string `json:",omitempty"`
// Mode specifies the type of failover that will be performed. Valid values are
// "sequential", "" (equivalent to "sequential") and "order-by-locality".
Mode string `json:",omitempty"`
Regions []string `json:",omitempty"`
}

// LoadBalancer determines the load balancing policy and configuration for services
Expand Down

0 comments on commit fc64a70

Please sign in to comment.