diff --git a/acl/acl.go b/acl/acl.go index 9538a18e5b..a59f380446 100644 --- a/acl/acl.go +++ b/acl/acl.go @@ -16,7 +16,7 @@ type Config struct { type PartitionExportInfo interface { // DownstreamPartitions returns the list of partitions the given service has been exported to. - DownstreamPartitions(service string, ctx *AuthorizerContext) []string + DownstreamPartitions(service string, anyService bool, ctx *AuthorizerContext) []string } // GetWildcardName will retrieve the configured wildcard name or provide a default diff --git a/agent/consul/acl.go b/agent/consul/acl.go index 095ec8eba6..c5bf1aa96e 100644 --- a/agent/consul/acl.go +++ b/agent/consul/acl.go @@ -1903,6 +1903,6 @@ func filterACL(r *ACLResolver, token string, subj interface{}) error { type partitionInfoNoop struct{} -func (p *partitionInfoNoop) DownstreamPartitions(service string, ctx *acl.AuthorizerContext) []string { +func (p *partitionInfoNoop) DownstreamPartitions(service string, anyService bool, ctx *acl.AuthorizerContext) []string { return []string{} }