From 94f69a0eb32a9a23571f0cd88dcfc9c32ddd426f Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Wed, 14 Feb 2024 12:00:47 -0800 Subject: [PATCH] Print WAL index in hex (#567) --- cmd/litestream/wal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/litestream/wal.go b/cmd/litestream/wal.go index 8fe7381..e56b69c 100644 --- a/cmd/litestream/wal.go +++ b/cmd/litestream/wal.go @@ -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,