mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Merge pull request #11842 from hashicorp/b-name-oss-files-consistently
chore: ensure consistent file naming for non-enterprise files.
This commit is contained in:
@@ -5,6 +5,6 @@ package nomad
|
||||
|
||||
// allocQuota returns the quota object associated with the allocation. In
|
||||
// anything but Premium this will always be empty
|
||||
func (n *nomadFSM) allocQuota(allocID string) (string, error) {
|
||||
func (n *nomadFSM) allocQuota(_ string) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
@@ -23,6 +23,6 @@ func refreshIndex(snap *state.StateSnapshot) (uint64, error) {
|
||||
}
|
||||
|
||||
// evaluatePlanQuota returns whether the plan would be over quota
|
||||
func evaluatePlanQuota(snap *state.StateSnapshot, plan *structs.Plan) (bool, error) {
|
||||
func evaluatePlanQuota(_ *state.StateSnapshot, _ *structs.Plan) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
//go:build !ent
|
||||
// +build !ent
|
||||
|
||||
package scheduler
|
||||
|
||||
func NewQuotaIterator(ctx Context, source FeasibleIterator) FeasibleIterator {
|
||||
return source
|
||||
}
|
||||
8
scheduler/stack_oss.go
Normal file
8
scheduler/stack_oss.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build !ent
|
||||
// +build !ent
|
||||
|
||||
package scheduler
|
||||
|
||||
func NewQuotaIterator(_ Context, source FeasibleIterator) FeasibleIterator {
|
||||
return source
|
||||
}
|
||||
Reference in New Issue
Block a user