Skip to content

Commit

Permalink
Undo changes to client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudhartert-db committed Jun 23, 2024
1 parent 97d8f5c commit f8097bd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,9 @@ func (c *DatabricksClient) ConfiguredAccountID() string {
}

// Do sends an HTTP request against path.
func (c *DatabricksClient) Do(
ctx context.Context,
method string,
path string,
headers map[string]string,
request any,
response any,
visitors ...func(*http.Request) error,
) error {
func (c *DatabricksClient) Do(ctx context.Context, method, path string,
headers map[string]string, request, response any,
visitors ...func(*http.Request) error) error {
opts := []httpclient.DoOption{}
for _, v := range visitors {
opts = append(opts, httpclient.WithRequestVisitor(v))
Expand Down

0 comments on commit f8097bd

Please sign in to comment.