mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
fix error of func TestValidateStatefulSet that updateStrategy
This commit is contained in:
parent
04673ab614
commit
abd1ea86fb
@ -293,7 +293,7 @@ func TestValidateStatefulSet(t *testing.T) {
|
||||
field != "metadata.labels" &&
|
||||
field != "status.replicas" &&
|
||||
field != "spec.updateStrategy" &&
|
||||
field != "spec.updateStrategy.rollingUpate" &&
|
||||
field != "spec.updateStrategy.rollingUpdate" &&
|
||||
field != "spec.updateStrategy.rollingUpdate.partition" {
|
||||
t.Errorf("%s: missing prefix for: %v", k, errs[i])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user