Skip to content

Commit

Permalink
Fix writer errors
Browse files Browse the repository at this point in the history
Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
  • Loading branch information
fpetkovski committed Nov 26, 2022
1 parent b002700 commit 4c7536b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ func (r *Writer) Write(ctx context.Context, tenantID string, wreq *prompb.WriteR
if err := app.Commit(); err != nil {
errs.Add(errors.Wrap(err, "commit samples"))
}
return errs.Cause()
return errs.ErrOrNil()
}

0 comments on commit 4c7536b

Please sign in to comment.