mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Modify tests
This commit is contained in:
@@ -312,10 +312,9 @@ func newRevision(set *apps.StatefulSet, revision int64, collisionCount *int32) (
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
podLabels := set.Spec.Template.Labels
|
||||
cr, err := history.NewControllerRevision(set,
|
||||
controllerKind,
|
||||
podLabels,
|
||||
set.Spec.Template.Labels,
|
||||
runtime.RawExtension{Raw: patch},
|
||||
revision,
|
||||
collisionCount)
|
||||
|
||||
Reference in New Issue
Block a user