Skip to content

Commit

Permalink
Review Remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ralikio committed Sep 24, 2024
1 parent 8a1a65f commit c24de75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/broker/bind_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type BindEndpoint struct {
}

type BindingParams struct {
TokenRequest bool `json:"token_requests,omit"`
TokenRequest bool `json:"token_request,omit"`
}

func NewBind(cfg BindingConfig, instanceStorage storage.Instances, log logrus.FieldLogger, clientProvider broker.ClientProvider, kubeconfigProvider broker.KubeconfigProvider, gardenerClient client.Client, tokenExpirationSeconds int) *BindEndpoint {
Expand Down
2 changes: 1 addition & 1 deletion internal/broker/bind_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func TestCreateBindingEndpoint(t *testing.T) {
"service_id": "123",
"plan_id": "%s",
"parameters": {
"token_requests": true
"token_request": true
}
}`, fixture.PlanId), t)

Expand Down

0 comments on commit c24de75

Please sign in to comment.