Skip to content

Commit

Permalink
cleanup formatting a bit
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Welch <[email protected]>
  • Loading branch information
slim-bean committed Dec 13, 2024
1 parent 1a31b1f commit b8c7f51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/chunks-inspect/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ func printFile(filename string, blockDetails, printLines, storeBlocks bool) {

if printLines {
for _, l := range b.entries {
fmt.Printf("%v\t%s", time.Unix(0, l.timestamp).In(timezone).Format(format), strings.TrimSpace(l.line))
fmt.Printf("TS(%v) LINE(%s) STRUCTURED_METADATA(", time.Unix(0, l.timestamp).In(timezone).Format(format), strings.TrimSpace(l.line))
for _, s := range l.structuredMetadata {
fmt.Printf("\t%s=%s", s.name, s.val)
fmt.Printf("%s=%s ", s.name, s.val)
}
fmt.Println()
fmt.Println(")")
}
}

Expand Down

0 comments on commit b8c7f51

Please sign in to comment.