mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 08:09:58 +00:00
Remove some unused codes in stateful_set_utils.go
This commit is contained in:
parent
946df1a914
commit
d3a0c149a3
@ -34,10 +34,6 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/controller/history"
|
"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)
|
var patchCodec = scheme.Codecs.LegacyCodec(apps.SchemeGroupVersion)
|
||||||
|
|
||||||
// overlappingStatefulSets sorts a list of StatefulSets by creation timestamp, using their names as a tie breaker.
|
// overlappingStatefulSets sorts a list of StatefulSets by creation timestamp, using their names as a tie breaker.
|
||||||
|
Loading…
Reference in New Issue
Block a user