Merge pull request #79129 from qingsenLi/k8s-190618-remove-code

Remove some unused codes in stateful_set_utils.go
This commit is contained in:
Kubernetes Prow Robot
2019-09-21 01:03:24 -07:00
committed by GitHub

View File

@@ -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.