github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/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  }