mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Merge pull request #8321 from prometheus/beorn7/promtool
promtool: Print block meta-data slightly more nicely
This commit is contained in:
commit
4154f6bc7d
|
@ -359,7 +359,7 @@ func listBlocks(path string, humanReadable bool) error {
|
|||
}
|
||||
|
||||
func printBlocks(blocks []tsdb.BlockReader, writeHeader, humanReadable bool) {
|
||||
tw := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
||||
tw := tabwriter.NewWriter(os.Stdout, 13, 0, 2, ' ', 0)
|
||||
defer tw.Flush()
|
||||
|
||||
if writeHeader {
|
||||
|
|
Loading…
Reference in a new issue