github.com/bigcommerce/nomad@v0.9.3-bc/nomad/leader_oss.go (about)

     1  // +build !pro,!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  }