Unverified Commit 34db40fb authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #67930 from AdamDang/patch-15

Fix the returned messaged: statefullset->statefulset
parents cfd63434 81acfb92
...@@ -264,7 +264,7 @@ func TestStatefulSetScale(t *testing.T) { ...@@ -264,7 +264,7 @@ func TestStatefulSetScale(t *testing.T) {
preconditions := ScalePrecondition{-1, ""} preconditions := ScalePrecondition{-1, ""}
count := uint(3) count := uint(3)
name := "foo" name := "foo"
err := scaler.Scale("default", name, count, &preconditions, nil, nil, schema.GroupResource{Group: "apps", Resource: "statefullset"}) err := scaler.Scale("default", name, count, &preconditions, nil, nil, schema.GroupResource{Group: "apps", Resource: "statefulset"})
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
......
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