Fix the returned messaged: statefullsets->statefulsets

Fix the returned messaged: statefullsets->statefulsets
pull/58/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }