mirror of https://github.com/status-im/consul.git
add region field (#16825)
* add region field * fix syntax error in test file * go fmt * go fmt * remove test
This commit is contained in:
parent
3e6f8b7e95
commit
fc64a702f4
|
@ -261,7 +261,10 @@ type ServiceResolverFailoverTarget struct {
|
|||
}
|
||||
|
||||
type ServiceResolverFailoverPolicy struct {
|
||||
// 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
|
||||
|
|
Loading…
Reference in New Issue