satisfy full linter

This commit is contained in:
2026-07-07 23:45:14 +02:00
parent b8e0ee074c
commit 002a390f43
47 changed files with 1206 additions and 1171 deletions

View File

@@ -20,6 +20,7 @@ import (
"context"
"fmt"
"log/slog"
"strconv"
"strings"
"time"
@@ -53,6 +54,7 @@ func NodeList(conf *cfg.Config) error {
}
table.Sort()
if err := table.Print(); err != nil {
return err
}
@@ -187,7 +189,7 @@ func NodeClients(conf *cfg.Config, nodename string) error {
table.AddRow(
agent,
fmt.Sprintf("%d", *client.Id),
strconv.FormatInt(*client.Id, 10),
time.UnixMilli(*client.LastRequestTimeMillis).String(),
*client.RemoteAddress,
uri,
@@ -199,5 +201,6 @@ func NodeClients(conf *cfg.Config, nodename string) error {
}
table.Sort()
return table.Print()
}