Skip to content

Commit

Permalink
FFM-11022 Log flag + group json
Browse files Browse the repository at this point in the history
  • Loading branch information
erdirowlands committed Mar 29, 2024
1 parent cfb1894 commit eb991be
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (c *CfClient) authenticate(ctx context.Context) error {
defer c.mux.RUnlock()

// dont check err just retry
httpClient, err := rest.NewClientWithResponses(c.config.url, rest.WithHTTPClient(c.config.authHttpClient))
httpClient, err := rest.NewClientWithResponses(c.config.url, c.config.Logger, rest.WithHTTPClient(c.config.authHttpClient))
if err != nil {
return err
}
Expand Down Expand Up @@ -421,7 +421,7 @@ func (c *CfClient) authenticate(ctx context.Context) error {

c.config.httpClient.Transport = customTrans

restClient, err := rest.NewClientWithResponses(c.config.url,
restClient, err := rest.NewClientWithResponses(c.config.url, c.config.Logger,
rest.WithRequestEditorFn(bearerTokenProvider.Intercept),
rest.WithRequestEditorFn(c.InterceptAddCluster),
rest.WithHTTPClient(c.config.httpClient),
Expand Down
18 changes: 16 additions & 2 deletions rest/services.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eb991be

Please sign in to comment.