github.com/hernad/nomad@v1.6.112/nomad/leader_oss.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  //go:build !ent
     5  // +build !ent
     6  
     7  package nomad
     8  
     9  // establishEnterpriseLeadership is a no-op on OSS.
    10  func (s *Server) establishEnterpriseLeadership(stopCh chan struct{}) error {
    11  	return nil
    12  }
    13  
    14  // revokeEnterpriseLeadership is a no-op on OSS>
    15  func (s *Server) revokeEnterpriseLeadership() error {
    16  	return nil
    17  }