2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-10-01 13:59:55 +00:00
|
|
|
//go:build !ent
|
2020-02-10 20:56:14 +00:00
|
|
|
// +build !ent
|
2017-09-07 23:56:15 +00:00
|
|
|
|
|
|
|
package nomad
|
|
|
|
|
|
|
|
// establishEnterpriseLeadership is a no-op on OSS.
|
2017-09-13 18:38:29 +00:00
|
|
|
func (s *Server) establishEnterpriseLeadership(stopCh chan struct{}) error {
|
2017-09-07 23:56:15 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// revokeEnterpriseLeadership is a no-op on OSS>
|
|
|
|
func (s *Server) revokeEnterpriseLeadership() error {
|
|
|
|
return nil
|
|
|
|
}
|