Skip to content

Commit

Permalink
fixup! Subscriptions: Add batching to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Jul 13, 2024
1 parent 405132f commit 8f4251e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/subscription/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func expandTemplate(e iExchange, s *Subscription, ap assetPairs, assets asset.It
}

buf := &bytes.Buffer{}
if err = t.Execute(buf, subCtx); err != nil {
if err := t.Execute(buf, subCtx); err != nil { //nolint:govet // Shadow, or gocritic will complain sloppyReassign
return nil, err
}

Expand Down

0 comments on commit 8f4251e

Please sign in to comment.