mirror of https://github.com/status-im/consul.git
Update agent/consul/acl_client.go
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
This commit is contained in:
parent
65d48e5042
commit
5d41b4d2f4
|
@ -24,7 +24,7 @@ var clientACLCacheConfig *structs.ACLCachesConfig = &structs.ACLCachesConfig{
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) ACLDatacenter() string {
|
func (c *Client) ACLDatacenter() string {
|
||||||
// For resolution running on clients servers within the current datacenter
|
// For resolution running on clients, servers within the current datacenter
|
||||||
// must be queried first to pick up local tokens.
|
// must be queried first to pick up local tokens.
|
||||||
return c.config.Datacenter
|
return c.config.Datacenter
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue