Merge pull request #8868 from hashicorp/b-missing-ErrMultipleNamespaces
moved shared variable into shared-build file
This commit is contained in:
commit
4e3c8ebc12
|
@ -34,6 +34,9 @@ const (
|
|||
DispatchPayloadSizeLimit = 16 * 1024
|
||||
)
|
||||
|
||||
// ErrMultipleNamespaces is send when multiple namespaces are used in the OSS setup
|
||||
var ErrMultipleNamespaces = errors.New("multiple Vault namespaces requires Nomad Enterprise")
|
||||
|
||||
var (
|
||||
// allowRescheduleTransition is the transition that allows failed
|
||||
// allocations to be force rescheduled. We create a one off
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
package nomad
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
|
@ -11,9 +10,6 @@ import (
|
|||
vapi "github.com/hashicorp/vault/api"
|
||||
)
|
||||
|
||||
// ErrMultipleNamespaces is send when multiple namespaces are used in the OSS setup
|
||||
var ErrMultipleNamespaces = errors.New("multiple vault namespaces requires Nomad Enterprise")
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Reference in New Issue