gopkg.in/hashicorp/nomad.v0@v0.11.8/nomad/leader_oss.go (about)

     1  // +build !ent
     2  
     3  package nomad
     4  
     5  // establishEnterpriseLeadership is a no-op on OSS.
     6  func (s *Server) establishEnterpriseLeadership(stopCh chan struct{}) error {
     7  	return nil
     8  }
     9  
    10  // revokeEnterpriseLeadership is a no-op on OSS>
    11  func (s *Server) revokeEnterpriseLeadership() error {
    12  	return nil
    13  }