Read the e2e Go version from go.mod and apply the safe go fix modernizers (#4677)

This commit is contained in:
Junya Okabe
2026-10-02 14:23:15 +02:00
committed by GitHub
parent 1945b42820
commit 5aed393af8
12 changed files with 50 additions and 32 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ func (k *Kubectl) FindPods(ctx context.Context, label string, cfg KubectlConfig)
}
var pods []string
for _, l := range strings.Split(out, "\n") {
for l := range strings.SplitSeq(out, "\n") {
if l != "" {
pods = append(pods, l)
}