From d3a0c149a36b912a5c3ab3cc63047b1cbc758720 Mon Sep 17 00:00:00 2001 From: qingsenLi Date: Sat, 15 Jun 2019 06:54:28 +0800 Subject: [PATCH] Remove some unused codes in stateful_set_utils.go --- pkg/controller/statefulset/stateful_set_utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/controller/statefulset/stateful_set_utils.go b/pkg/controller/statefulset/stateful_set_utils.go index 921286ff054..89faba2ccb6 100644 --- a/pkg/controller/statefulset/stateful_set_utils.go +++ b/pkg/controller/statefulset/stateful_set_utils.go @@ -34,10 +34,6 @@ import ( "k8s.io/kubernetes/pkg/controller/history" ) -// maxUpdateRetries is the maximum number of retries used for update conflict resolution prior to failure -const maxUpdateRetries = 10 - -// been attempted and we need to back off var patchCodec = scheme.Codecs.LegacyCodec(apps.SchemeGroupVersion) // overlappingStatefulSets sorts a list of StatefulSets by creation timestamp, using their names as a tie breaker.