mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 05:04:18 +02:00
satisfy linter
This commit is contained in:
@@ -127,7 +127,7 @@ func NodeShow(conf *cfg.Config, nodename string) error {
|
|||||||
{"Node version", info.Version},
|
{"Node version", info.Version},
|
||||||
// FIXME: not implemented upstream
|
// FIXME: not implemented upstream
|
||||||
// see: https://github.com/elastic/go-elasticsearch/issues/1526
|
// see: https://github.com/elastic/go-elasticsearch/issues/1526
|
||||||
//{"Allocated shards", stat.Allocations.XXX},
|
// {"Allocated shards", stat.Allocations.XXX},
|
||||||
{"HTTP clients", *stat.Http.CurrentOpen},
|
{"HTTP clients", *stat.Http.CurrentOpen},
|
||||||
{"CPUs", *info.Os.AllocatedProcessors},
|
{"CPUs", *info.Os.AllocatedProcessors},
|
||||||
{"Load 15m/5m/1m", fmt.Sprintf("%.2f/%.2f/%.2f",
|
{"Load 15m/5m/1m", fmt.Sprintf("%.2f/%.2f/%.2f",
|
||||||
|
|||||||
@@ -32,5 +32,6 @@ func Bytes(size int64) *ByteSize {
|
|||||||
|
|
||||||
func ByteString(size int64) string {
|
func ByteString(size int64) string {
|
||||||
b := ByteSize{size: uint64(size)}
|
b := ByteSize{size: uint64(size)}
|
||||||
|
|
||||||
return b.String()
|
return b.String()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user