From 6e5d741f0d3a635b09414b20fd18629a8ff56b06 Mon Sep 17 00:00:00 2001 From: Albin Severinson Date: Thu, 22 Jun 2023 14:49:21 +0100 Subject: [PATCH] Lint --- internal/armada/server/lease.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/armada/server/lease.go b/internal/armada/server/lease.go index da9c2085f3c..572cc890bc7 100644 --- a/internal/armada/server/lease.go +++ b/internal/armada/server/lease.go @@ -752,7 +752,11 @@ const ( subtract ) -func updateAllocatedByQueueAndPriorityClass[T interfaces.LegacySchedulerJob](allocatedByQueueAndPriorityClass map[string]schedulerobjects.QuantityByTAndResourceType[string], op addOrSubtract, jobs []T) map[string]schedulerobjects.QuantityByTAndResourceType[string] { +func updateAllocatedByQueueAndPriorityClass[T interfaces.LegacySchedulerJob]( + allocatedByQueueAndPriorityClass map[string]schedulerobjects.QuantityByTAndResourceType[string], + op addOrSubtract, + jobs []T, +) map[string]schedulerobjects.QuantityByTAndResourceType[string] { if allocatedByQueueAndPriorityClass == nil { allocatedByQueueAndPriorityClass = make(map[string]schedulerobjects.QuantityByTAndResourceType[string], 256) }