Fix the returned messaged: statefullsets->statefulsets

Fix the returned messaged: statefullsets->statefulsets
This commit is contained in:
AdamDang 2018-08-28 15:20:21 +08:00 committed by GitHub
parent 029bb4e213
commit 81acfb922c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ func TestStatefulSetScale(t *testing.T) {
preconditions := ScalePrecondition{-1, ""}
count := uint(3)
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 {
t.Fatal(err)
}