Skip to content

Commit

Permalink
style: format code with Go fmt and Gofumpt
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 5a781c8 according to the output
from Go fmt and Gofumpt.

Details: #1
  • Loading branch information
deepsource-autofix[bot] committed Feb 12, 2024
1 parent 5a781c8 commit c0e8d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ func RegisterWithConfig(ctx context.Context, cfg *config.Config) (func(), error)

// RegisterGlobalInstance creates the instance that will be used to report metrics and traces
func RegisterGlobalInstance(ctx context.Context, me map[string]exporter.MetricReader, te map[string]exporter.SpanExporter,
metricReportingPeriod int, traceSampleRate float64, serviceName string) (func(), error) {

metricReportingPeriod int, traceSampleRate float64, serviceName string,
) (func(), error) {
shutdownFn := func() {}
prop := propagation.NewCompositeTextMapPropagator(
propagation.TraceContext{},
Expand Down

0 comments on commit c0e8d35

Please sign in to comment.