open-nomad/nomad/leader_oss.go

14 lines
292 B
Go

// +build !ent
package nomad
// establishEnterpriseLeadership is a no-op on OSS.
func (s *Server) establishEnterpriseLeadership(stopCh chan struct{}) error {
return nil
}
// revokeEnterpriseLeadership is a no-op on OSS>
func (s *Server) revokeEnterpriseLeadership() error {
return nil
}