mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #79129 from qingsenLi/k8s-190618-remove-code
Remove some unused codes in stateful_set_utils.go
This commit is contained in:
commit
60044a8acc
@ -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