open-nomad/nomad/job_endpoint_oss.go

11 lines
266 B
Go
Raw Normal View History

2017-09-19 14:47:10 +00:00
// +build !ent
package nomad
import "github.com/hashicorp/nomad/nomad/structs"
// enforceSubmitJob is used to check any Sentinel policies for the submit-job scope
func (j *Job) enforceSubmitJob(override bool, job *structs.Job) (error, error) {
return nil, nil
}