Skip to content

Commit

Permalink
Print WAL index in hex (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalafut committed Feb 14, 2024
1 parent e4254bb commit 94f69a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/litestream/wal.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *WALCommand) Run(ctx context.Context, args []string) (err error) {
for itr.Next() {
info := itr.WALSegment()

fmt.Fprintf(w, "%s\t%s\t%d\t%d\t%d\t%s\n",
fmt.Fprintf(w, "%s\t%s\t%x\t%d\t%d\t%s\n",
r.Name(),
info.Generation,
info.Index,
Expand Down

0 comments on commit 94f69a0

Please sign in to comment.