Skip to content

Commit 2db95f6

Browse files
style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in c19d3ae according to the output from Go fmt and Gofumpt. Details: #1
1 parent c19d3ae commit 2db95f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

http/client/client.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ import (
4343
// If the provided options are nil, the default options (with everything enabled) will be used.
4444
// Check the [TransportOptions] struct for details..
4545
func InstrumentedHTTPClient(c *http.Client, t *TransportOptions, clientName string,
46-
getState state.GetterFn) (*http.Client, error) {
46+
getState state.GetterFn,
47+
) (*http.Client, error) {
4748
// the default options is to have everything activated
4849
// TODO: we might want to return the provided client if no transport options are provided ?
4950
// TODO: we might want to return an error if no transport options are provided ?

lura/backend.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ var defaultOpts = otelconfig.BackendOpts{
3636
// for the backend requests.
3737
func HTTPRequestExecutorFromConfig(clientFactory transport.HTTPClientFactory,
3838
cfg *config.Backend, opts *otelconfig.BackendOpts, skipPaths []string,
39-
getState otelstate.GetterFn) transport.HTTPRequestExecutor {
40-
39+
getState otelstate.GetterFn,
40+
) transport.HTTPRequestExecutor {
4141
for _, sp := range skipPaths {
4242
if cfg.ParentEndpoint == sp {
4343
// TODO: check if there might be some othe executor that is

0 commit comments

Comments
 (0)