Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Jul 30, 2024
1 parent 3ba0591 commit 08e3723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blob/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (s *Service) Subscribe(ctx context.Context, ns share.Namespace) (<-chan *Su
var err error
for {
blobs, err = s.getAll(ctx, header, []share.Namespace{ns})
if ctx.Err() != nil {
if ctx.Err() != nil {
// context canceled, continuing would lead to unexpected missed heights for the client
log.Debugw("blobsub: canceling subscription due to user ctx closing", "namespace", ns.ID())
return
Expand Down

0 comments on commit 08e3723

Please sign in to comment.