From 6f06490bcfa370da4662b4736ff8aab53e41d4e4 Mon Sep 17 00:00:00 2001 From: Ping <43886578+400Ping@users.noreply.github.com> Date: Sun, 8 Sep 2024 06:16:23 +0000 Subject: [PATCH] [YUNIKORN-2858] Fix typo in preemption_predicate_plugin.go (#966) Closes: #966 Signed-off-by: Yu-Lin Chen --- pkg/mock/preemption_predicate_plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mock/preemption_predicate_plugin.go b/pkg/mock/preemption_predicate_plugin.go index ea4b99e8d..d41b9ac95 100644 --- a/pkg/mock/preemption_predicate_plugin.go +++ b/pkg/mock/preemption_predicate_plugin.go @@ -110,7 +110,7 @@ func (m *PreemptionPredicatePlugin) PreemptionPredicates(args *si.PreemptionPred result.Index = preemption.index return result } - m.errHolder.err = fmt.Errorf("mo match found allocationKey=%s, nodeID=%s", args.AllocationKey, args.NodeID) + m.errHolder.err = fmt.Errorf("no match found, allocationKey=%s, nodeID=%s", args.AllocationKey, args.NodeID) return result }