diff --git a/agent/ui_endpoint.go b/agent/ui_endpoint.go index 8f5184969693..5924e23f6f79 100644 --- a/agent/ui_endpoint.go +++ b/agent/ui_endpoint.go @@ -190,7 +190,10 @@ func AgentMembersMapAddrVer(s *HTTPHandlers, req *http.Request) (map[string]stri filter := consul.LANMemberFilter{ Partition: entMeta.PartitionOrDefault(), } - filter.AllSegments = true + if acl.IsDefaultPartition(filter.Partition) { + filter.AllSegments = true + } + lanMembers, err := s.agent.delegate.LANMembers(filter) if err != nil { return nil, err