Update deps and simplify parsing

Bump frontend and Go dependencies, then modernize a few hot paths with newer Go string/range helpers. Also widen the client form quota/limit fields to improve the layout.
This commit is contained in:
Sanaei
2026-09-08 14:12:13 +02:00
parent 2ec6c73613
commit 2d151d7648
12 changed files with 301 additions and 341 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ func peerFields(t *testing.T, conf string) []string {
t.Fatalf("config has no [Peer] block:\n%s", conf)
}
var got []string
for _, line := range strings.Split(conf[idx:], "\n") {
for line := range strings.SplitSeq(conf[idx:], "\n") {
key := strings.TrimSpace(strings.SplitN(line, "=", 2)[0])
if slices.Contains(peerFieldOrder, key) {
got = append(got, key)