Remove some unused codes in stateful_set_utils.go

This commit is contained in:
qingsenLi 2019-06-15 06:54:28 +08:00
parent 946df1a914
commit d3a0c149a3

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.