Unverified Commit 8f01d74f authored by James Rasell's avatar James Rasell Committed by GitHub
Browse files

Merge pull request #11842 from hashicorp/b-name-oss-files-consistently

chore: ensure consistent file naming for non-enterprise files.
Showing with 10 additions and 2 deletions
+10 -2
......@@ -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
}
......@@ -3,6 +3,6 @@
package scheduler
func NewQuotaIterator(ctx Context, source FeasibleIterator) FeasibleIterator {
func NewQuotaIterator(_ Context, source FeasibleIterator) FeasibleIterator {
return source
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment