open-nomad/nomad/leader_oss.go

14 lines
297 B
Go
Raw Normal View History

2017-09-07 23:56:15 +00:00
// +build !pro,!ent
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
}