open-nomad/command/agent/agent_oss.go
Mahmood Ali 4d90afb425 gofmt all the files
mostly to handle build directives in 1.17.
2021-10-01 10:14:28 -04:00

25 lines
500 B
Go

//go:build !ent
// +build !ent
package agent
import (
hclog "github.com/hashicorp/go-hclog"
"github.com/hashicorp/nomad/nomad/structs/config"
)
// EnterpriseAgent holds information and methods for enterprise functionality
// in OSS it is an empty struct.
type EnterpriseAgent struct{}
func (a *Agent) setupEnterpriseAgent(log hclog.Logger) error {
// configure eventer
a.auditor = &noOpAuditor{}
return nil
}
func (a *Agent) entReloadEventer(cfg *config.AuditConfig) error {
return nil
}