[release-10.4.18] Go: Bump to 1.24.2 (#103531)

* Go: Bump to 1.24.2

* CI: Update golangci-lint

* feat: update swagger

* fix: more lints

* fix: lints
This commit is contained in:
Mariell Hoversholm
2025-04-09 11:12:33 +02:00
committed by GitHub
parent ee117f713e
commit 750b094dda
75 changed files with 846 additions and 368 deletions
+2
View File
@@ -71,9 +71,11 @@ func (j *lmox) Generate(kind kindsys.Kind) (codejen.Files, error) {
var fl codejen.Files
major := -1
for sch := kind.Lineage().First(); sch != nil; sch = sch.Successor() {
//nolint:gosec // G115: this is codegen.
if int(sch.Version()[0]) == major {
continue
}
//nolint:gosec // G115: this is codegen.
major = int(sch.Version()[0])
sfg.Schema = sch.LatestInMajor()