Update agent/consul/acl_client.go

Co-authored-by: Freddy <freddygv@users.noreply.github.com>
This commit is contained in:
Daniel Nephin 2021-10-25 16:09:52 -04:00
parent 65d48e5042
commit 5d41b4d2f4
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }