Update gofmt for go1.11

This commit is contained in:
Christoph Blecker
2018-10-05 12:59:38 -07:00
parent e2893bbc94
commit 97b2992dc1
209 changed files with 1029 additions and 1029 deletions

View File

@@ -61,7 +61,7 @@ func TestCreate(t *testing.T) {
"nonresource rejected": {
spec: authorizationapi.SubjectAccessReviewSpec{
User: "bob",
User: "bob",
NonResourceAttributes: &authorizationapi.NonResourceAttributes{Verb: "get", Path: "/mypath"},
},
decision: authorizer.DecisionNoOpinion,
@@ -82,7 +82,7 @@ func TestCreate(t *testing.T) {
"nonresource allowed": {
spec: authorizationapi.SubjectAccessReviewSpec{
User: "bob",
User: "bob",
NonResourceAttributes: &authorizationapi.NonResourceAttributes{Verb: "get", Path: "/mypath"},
},
decision: authorizer.DecisionAllow,