Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Sep 5, 2024
1 parent 544aee6 commit 111b5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
type configOptions struct {
ctx context.Context
opentelemetryConfig OpenTelemetryConfiguration
prometheusRegisterer *prometheus.Registerer
prometheusRegisterer prometheus.Registerer
}

type shutdownFunc func(context.Context) error
Expand Down Expand Up @@ -133,7 +133,7 @@ func WithOpenTelemetryConfiguration(cfg OpenTelemetryConfiguration) Configuratio
// any Prometheus exporters configured in this SDK. Note: if this option
// is set, the caller is expected to initialize their own handler to
// expose Prometheus metrics.
func WithPrometheusRegisterer(reg *prometheus.Registerer) ConfigurationOption {
func WithPrometheusRegisterer(reg prometheus.Registerer) ConfigurationOption {
return configurationOptionFunc(func(c configOptions) configOptions {
c.prometheusRegisterer = reg
return c
Expand Down

0 comments on commit 111b5b0

Please sign in to comment.