cleanup: fix some log and error capitalizations

Part of https://github.com/kubernetes/kubernetes/issues/15863
This commit is contained in:
David Xia
2019-07-18 13:22:52 -04:00
parent 2e6eea5517
commit fabfd950b1
40 changed files with 76 additions and 76 deletions

View File

@@ -247,7 +247,7 @@ func TestTokenCreation(t *testing.T) {
return func(core.Action) (bool, runtime.Object, error) {
i++
if i < 3 {
return true, nil, apierrors.NewForbidden(api.Resource("secrets"), "foo", errors.New("No can do"))
return true, nil, apierrors.NewForbidden(api.Resource("secrets"), "foo", errors.New("no can do"))
}
return false, nil, nil
}
@@ -278,7 +278,7 @@ func TestTokenCreation(t *testing.T) {
resource: "secrets",
reactor: func(t *testing.T) core.ReactionFunc {
return func(core.Action) (bool, runtime.Object, error) {
return true, nil, apierrors.NewForbidden(api.Resource("secrets"), "foo", errors.New("No can do"))
return true, nil, apierrors.NewForbidden(api.Resource("secrets"), "foo", errors.New("no can do"))
}
},
}},