mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Integration points for multiregion jobs to be registered in the enterprise version of Nomad: * hook in `Job.Register` for enterprise to send job to peer regions * remove monitoring from `nomad job run` and `nomad job stop` for multiregion jobs
12 lines
166 B
Go
12 lines
166 B
Go
// +build !ent
|
|
|
|
package agent
|
|
|
|
import (
|
|
"github.com/hashicorp/nomad/api"
|
|
)
|
|
|
|
func regionForJob(job *api.Job, requestRegion *string) *string {
|
|
return requestRegion
|
|
}
|