Skip to content

Commit de50315

Browse files
committedFeb 14, 2025·
scheduler: correct mismatched error message
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
1 parent 6b5bf18 commit de50315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pkg/scheduler/cache/cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ func (sc *SchedulerCache) Evict(taskInfo *schedulingapi.TaskInfo, reason string)
864864

865865
node, found := sc.Nodes[task.NodeName]
866866
if !found {
867-
return fmt.Errorf("failed to bind Task %v to host %v, host does not exist",
867+
return fmt.Errorf("failed to evict Task %v from host %v, host does not exist",
868868
task.UID, task.NodeName)
869869
}
870870

0 commit comments

Comments
 (0)
Please sign in to comment.