From c5214a3762a127514d4e6ab19fe78bee6e3ad3db Mon Sep 17 00:00:00 2001 From: Zhou Hao Date: Thu, 2 Jan 2020 11:02:52 +0800 Subject: [PATCH] Fix a typo 'the the' -> 'the' Signed-off-by: Zhou Hao --- operator/controllers/runtimetask_reconcile.go | 2 +- operator/controllers/runtimetaskgroup_reconcile.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/controllers/runtimetask_reconcile.go b/operator/controllers/runtimetask_reconcile.go index 771135c..98bbf77 100644 --- a/operator/controllers/runtimetask_reconcile.go +++ b/operator/controllers/runtimetask_reconcile.go @@ -72,7 +72,7 @@ func reconcileTasks(nodes []corev1.Node, tasks *operatorv1.RuntimeTaskList) *tas matchMap[x.Name] = newTaskGroupChildProxy(&x) } - // Match the the current Task with desired Task (1 for each node in scope). + // Match the current Task with desired Task (1 for each node in scope). for _, t := range tasks.Items { // in case a current task has a corresponding desired task, match them // NB. if there are more that one match, we track this, but this is an inconsistency diff --git a/operator/controllers/runtimetaskgroup_reconcile.go b/operator/controllers/runtimetaskgroup_reconcile.go index 2e24201..3f24cca 100644 --- a/operator/controllers/runtimetaskgroup_reconcile.go +++ b/operator/controllers/runtimetaskgroup_reconcile.go @@ -69,7 +69,7 @@ func reconcileTaskGroups(desired *operatorv1.RuntimeTaskGroupList, current *oper matchMap[desiredTaskGroup.Name] = newTaskGroupReconcileItem(&desiredTaskGroup, nil) } - // Match the the current child objects (TaskGroup) with desired objects (desired TaskGroup). + // Match the current child objects (TaskGroup) with desired objects (desired TaskGroup). for _, taskGroup := range current.Items { currentTaskGroup := taskGroup // copies the TaskGroup to a local variable in order to avoid it to get overridden at the next iteration // in case a current objects has a corresponding desired object, match them