Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pkg/cmd/formatting.go
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,13 @@ func FormatCacheStoreDetails(cacheDetails []config.CacheStoreDetail, cache, serv
fmt.Sprintf("Service/Cache: %s/%s\n", service, cache) +
fmt.Sprintf("Cache Store Type: %s\n", cacheStoreType)
}
header += fmt.Sprintf("Total Queue TotalSize: %s\n", formatLargeInteger(totalQueueSize)) +

queueSize := "N/A"
if totalQueueSize > 0 {
queueSize = formatLargeInteger(totalQueueSize)
}

header += fmt.Sprintf("Total Queue TotalSize: %s\n", queueSize) +
fmt.Sprintf("Total Store Failures: %s\n", formatLargeInteger(totalFailures)) + "\n"

return header + table.String()
Expand Down
Loading