Add stub methods for ACL/segment bug fix from enterprise

This commit is contained in:
Kyle Havlovitz 2020-03-02 10:30:23 -08:00
parent ca6e866232
commit 7c57837908
2 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,7 @@ func (s *Server) updateACLAdvertisement() {
// always advertise to all the LAN Members
lib.UpdateSerfTag(s.serfLAN, "acls", string(structs.ACLModeEnabled))
s.updateSegmentACLAdvertisements()
if s.serfWAN != nil {
// advertise on the WAN only when we are inside the ACL datacenter

View File

@ -16,3 +16,6 @@ func (s *Server) ResolveEntTokenToIdentityAndAuthorizer(token string) (structs.A
func (s *Server) validateEnterpriseToken(identity structs.ACLIdentity) error {
return nil
}
// Consul-enterprise only
func (s *Server) updateSegmentACLAdvertisements() {}