From df190a0197214fedcdcc5dbe75681f1303644da0 Mon Sep 17 00:00:00 2001 From: Draven Date: Wed, 27 Feb 2019 18:16:50 +0800 Subject: [PATCH] fix: typo in stateful_set_control --- pkg/controller/statefulset/stateful_set_control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/statefulset/stateful_set_control.go b/pkg/controller/statefulset/stateful_set_control.go index de193a137e1..afaeb678b77 100644 --- a/pkg/controller/statefulset/stateful_set_control.go +++ b/pkg/controller/statefulset/stateful_set_control.go @@ -447,7 +447,7 @@ func (ssc *defaultStatefulSetControl) updateStatefulSet( // At this point, all of the current Replicas are Running and Ready, we can consider termination. // We will wait for all predecessors to be Running and Ready prior to attempting a deletion. // We will terminate Pods in a monotonically decreasing order over [len(pods),set.Spec.Replicas). - // Note that we do not resurrect Pods in this interval. Also not that scaling will take precedence over + // Note that we do not resurrect Pods in this interval. Also note that scaling will take precedence over // updates. for target := len(condemned) - 1; target >= 0; target-- { // wait for terminating pods to expire