Update gofmt for go1.11
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user