open-nomad/nomad/leader_oss.go

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

15 lines
308 B
Go
Raw Normal View History

//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
}