satisfy linter

This commit is contained in:
2026-07-08 15:02:17 +02:00
parent 56e4b34ab9
commit 83307ac677
2 changed files with 2 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ func NodeShow(conf *cfg.Config, nodename string) error {
{"Node version", info.Version},
// FIXME: not implemented upstream
// see: https://github.com/elastic/go-elasticsearch/issues/1526
//{"Allocated shards", stat.Allocations.XXX},
// {"Allocated shards", stat.Allocations.XXX},
{"HTTP clients", *stat.Http.CurrentOpen},
{"CPUs", *info.Os.AllocatedProcessors},
{"Load 15m/5m/1m", fmt.Sprintf("%.2f/%.2f/%.2f",

View File

@@ -32,5 +32,6 @@ func Bytes(size int64) *ByteSize {
func ByteString(size int64) string {
b := ByteSize{size: uint64(size)}
return b.String()
}