mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Oss license support for ent builds (#8054)
* changes necessary to support oss licesning shims revert nomad fmt changes update test to work with enterprise changes update tests to work with new ent enforcements make check update cas test to use scheduler algorithm back out preemption changes add comments * remove unused method
This commit is contained in:
@@ -59,6 +59,9 @@ type Agent struct {
|
||||
httpLogger log.Logger
|
||||
logOutput io.Writer
|
||||
|
||||
// EnterpriseAgent holds information and methods for enterprise functionality
|
||||
EnterpriseAgent *EnterpriseAgent
|
||||
|
||||
// consulService is Nomad's custom Consul client for managing services
|
||||
// and checks.
|
||||
consulService *consul.ServiceClient
|
||||
@@ -121,6 +124,7 @@ func NewAgent(config *Config, logger log.InterceptLogger, logOutput io.Writer, i
|
||||
if err := a.setupClient(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if err := a.setupEnterpriseAgent(logger); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user