Skip to content

Commit

Permalink
Humanize
Browse files Browse the repository at this point in the history
  • Loading branch information
jnmoyne committed Aug 11, 2023
1 parent e462d19 commit 48b8e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/stream_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ func (c *streamCmd) showStreamConfig(cols *columns.Writer, cfg api.StreamConfig)
if cfg.MaxMsgSize == -1 {
cols.AddRow("Maximum Message Size", "unlimited")
} else {
cols.AddRow("Maximum Message Size", cfg.MaxMsgSize)
cols.AddRow("Maximum Message Size", humanize.IBytes(uint64(cfg.MaxMsgSize)))
}
if cfg.MaxConsumers == -1 {
cols.AddRow("Maximum Consumers", "unlimited")
Expand Down

0 comments on commit 48b8e9d

Please sign in to comment.