1// +build !pro,!ent 2 3package nomad 4 5import ( 6 "github.com/hashicorp/consul/agent/consul/autopilot" 7 log "github.com/hashicorp/go-hclog" 8) 9 10type EnterpriseState struct{} 11 12func (s *Server) setupEnterprise(config *Config) error { 13 // Set up the OSS version of autopilot 14 apDelegate := &AutopilotDelegate{s} 15 s.autopilot = autopilot.NewAutopilot(s.logger.StandardLoggerIntercept(&log.StandardLoggerOptions{InferLevels: true}), apDelegate, config.AutopilotInterval, config.ServerHealthInterval) 16 17 return nil 18} 19 20func (s *Server) startEnterpriseBackground() {} 21