open-nomad/nomad/leader_oss.go
2017-09-13 11:38:29 -07:00

14 lines
297 B
Go

// +build !pro,!ent
package nomad
// establishEnterpriseLeadership is a no-op on OSS.
func (s *Server) establishEnterpriseLeadership(stopCh chan struct{}) error {
return nil
}
// revokeEnterpriseLeadership is a no-op on OSS>
func (s *Server) revokeEnterpriseLeadership() error {
return nil
}