Skip to content

Commit d6f9241

Browse files
committed
removed unnecessary comments
Signed-off-by: SoumyaRaikwar <[email protected]>
1 parent b68d4ed commit d6f9241

File tree

1 file changed

+1
-2
lines changed
  • internal/storage/metricstore/elasticsearch

1 file changed

+1
-2
lines changed

internal/storage/metricstore/elasticsearch/factory.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ type Factory struct {
2222
}
2323

2424
// NewFactory creates a new Factory with the given configuration and telemetry settings.
25-
// Pass nil for httpAuth if authentication is not required.
2625
func NewFactory(
2726
ctx context.Context,
2827
cfg config.Configuration,
@@ -33,7 +32,7 @@ func NewFactory(
3332
return nil, err
3433
}
3534

36-
client, err := config.NewClient(ctx, &cfg, telset.Logger, telset.Metrics, httpAuth) // ADD httpAuth argument
35+
client, err := config.NewClient(ctx, &cfg, telset.Logger, telset.Metrics, httpAuth)
3736
if err != nil {
3837
return nil, err
3938
}

0 commit comments

Comments
 (0)