Commit b7c36dc7 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #52898 from jianglingxia/jlx-92216

Automatic merge from submit-queue (batch tested with PRs 52751, 52898, 52633, 52611, 52609). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.. fix error of func TestValidateStatefulSet that updateStrategy **What this PR does / why we need it**: spec.updateStrategy.rollingUpdate.partition,but spec.updateStrategy.rollingUpate need "d" **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 8c29b654 abd1ea86
...@@ -293,7 +293,7 @@ func TestValidateStatefulSet(t *testing.T) { ...@@ -293,7 +293,7 @@ func TestValidateStatefulSet(t *testing.T) {
field != "metadata.labels" && field != "metadata.labels" &&
field != "status.replicas" && field != "status.replicas" &&
field != "spec.updateStrategy" && field != "spec.updateStrategy" &&
field != "spec.updateStrategy.rollingUpate" && field != "spec.updateStrategy.rollingUpdate" &&
field != "spec.updateStrategy.rollingUpdate.partition" { field != "spec.updateStrategy.rollingUpdate.partition" {
t.Errorf("%s: missing prefix for: %v", k, errs[i]) t.Errorf("%s: missing prefix for: %v", k, errs[i])
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment