Skip to content

Commit

Permalink
sebrecords: fix incorrect arg in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
micvbang committed Jul 16, 2024
1 parent f12eced commit 14a556c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sebrecords/records.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func Write(wtr io.Writer, batch Batch) error {

err = binary.Write(wtr, byteOrder, indexes)
if err != nil {
return fmt.Errorf("writing record indexes %v: %w", batch.indexes, err)
return fmt.Errorf("writing record indexes %v: %w", indexes, err)
}

err = binary.Write(wtr, byteOrder, batch.Data())
Expand Down

0 comments on commit 14a556c

Please sign in to comment.