Skip to content

Commit

Permalink
fix v to w
Browse files Browse the repository at this point in the history
  • Loading branch information
golangisfun123 committed Sep 20, 2024
1 parent 029a212 commit e6be8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/promexporter/exporters/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (e *exporter) collectMetrics(parentCtx context.Context) (err error) {

if len(errs) > 0 {
span.AddEvent("could not collect metrics")
return fmt.Errorf("could not collect metrics: %v", combineErrors(errs))
return fmt.Errorf("could not collect metrics: %w", combineErrors(errs))

Check warning on line 176 in contrib/promexporter/exporters/exporter.go

View check run for this annotation

Codecov / codecov/patch

contrib/promexporter/exporters/exporter.go#L176

Added line #L176 was not covered by tests
}

return nil
Expand Down

0 comments on commit e6be8bc

Please sign in to comment.