Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija42 committed Sep 10, 2024
1 parent 92c9c51 commit fb8153e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion median/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ func (p *Plugin) NewMedianFactory(ctx context.Context, provider types.MedianProv
GasPriceSubunitsDataSource: gasPriceSubunits,
IncludeGasPriceSubunitsInObservation: includeGasPriceSubunitsInObservation,
Logger: logger.NewOCRWrapper(lggr, true, func(msg string) {
ctx, cancelFn := p.stop.NewCtx()
var cancelFn context.CancelFunc
ctx, cancelFn = p.stop.NewCtx()
defer cancelFn()
if err := errorLog.SaveError(ctx, msg); err != nil {
lggr.Errorw("Unable to save error", "err", msg)
Expand Down

0 comments on commit fb8153e

Please sign in to comment.