From b8c7f510dc6d3fbe7f7753a1a2232ac107577bf6 Mon Sep 17 00:00:00 2001 From: Edward Welch Date: Fri, 13 Dec 2024 20:57:58 +0000 Subject: [PATCH] cleanup formatting a bit Signed-off-by: Edward Welch --- cmd/chunks-inspect/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/chunks-inspect/main.go b/cmd/chunks-inspect/main.go index 5152711489181..ea20ecfd9e728 100644 --- a/cmd/chunks-inspect/main.go +++ b/cmd/chunks-inspect/main.go @@ -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(")") } }