Skip to content

Commit

Permalink
Please linter God
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo committed Nov 2, 2023
1 parent 9e80640 commit a579bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion otel/autometrics/instrument.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Instrument(ctx context.Context, err *error) {
// NOTE: This call means that goroutines that outlive this function as the caller will not have access to parent
// caller information, but hopefully by that point we got all the necessary accesses done.
// If not, it is a convenience we accept to give up to prevent memory usage from exploding
am.PopFunctionName(ctx)
_ = am.PopFunctionName(ctx)
}

// PreInstrument runs the "before wrappee" part of instrumentation.
Expand Down
2 changes: 1 addition & 1 deletion prometheus/autometrics/instrument.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func Instrument(ctx context.Context, err *error) {
// NOTE: This call means that goroutines that outlive this function as the caller will not have access to parent
// caller information, but hopefully by that point we got all the necessary accesses done.
// If not, it is a convenience we accept to give up to prevent memory usage from exploding
am.PopFunctionName(ctx)
_ = am.PopFunctionName(ctx)
}

// PreInstrument runs the "before wrappee" part of instrumentation.
Expand Down

0 comments on commit a579bf2

Please sign in to comment.