open-nomad/nomad/leader_oss.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
378 B
Go
Raw Permalink Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !ent
// +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
}