From 6ac0f4198a6ec81a1e289c6e5cf5015c6e426c3f Mon Sep 17 00:00:00 2001 From: tanshanshan Date: Thu, 21 Dec 2017 16:06:45 +0800 Subject: [PATCH] rename key --- plugin/pkg/scheduler/core/generic_scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pkg/scheduler/core/generic_scheduler.go b/plugin/pkg/scheduler/core/generic_scheduler.go index e9e7e95a6c2..f97e1e2feb6 100644 --- a/plugin/pkg/scheduler/core/generic_scheduler.go +++ b/plugin/pkg/scheduler/core/generic_scheduler.go @@ -64,7 +64,7 @@ const ( // The scheduler uses the annotation to find that the pod shouldn't preempt more pods // when it gets to the head of scheduling queue again. // See podEligibleToPreemptOthers() for more information. - NominatedNodeAnnotationKey = "NominatedNodeName" + NominatedNodeAnnotationKey = "scheduler.kubernetes.io/nominated-node-name" ) // Error returns detailed information of why the pod failed to fit on each node