github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/nomad/server_setup_oss.go (about) 1 // +build !pro,!ent 2 3 package nomad 4 5 import "github.com/hashicorp/consul/agent/consul/autopilot" 6 7 type EnterpriseState struct{} 8 9 func (s *Server) setupEnterprise(config *Config) error { 10 // Set up the OSS version of autopilot 11 apDelegate := &AutopilotDelegate{s} 12 s.autopilot = autopilot.NewAutopilot(s.logger, apDelegate, config.AutopilotInterval, config.ServerHealthInterval) 13 14 return nil 15 } 16 17 func (s *Server) startEnterpriseBackground() {}