You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything is fine when running on Go 1.20 but when I go vet on Go 1.21 issues are found.
$ go version
go version go1.20.14 linux/amd64
go vet ./operator/...
$ go version
go version go1.21.8 linux/amd64
$ go vet ./operator/...
# github.com/go-logr/zapr
../../../../pkg/mod/github.com/go-logr/zapr@v1.3.0/slogzapr.go:61:31: undefined: zap.Inline
../../../../pkg/mod/github.com/go-logr/zapr@v1.3.0/slogzapr.go:169:3: unknown field Function in struct literal of type zapcore.EntryCaller
../../../../pkg/mod/github.com/go-logr/zapr@v1.3.0/slogzapr.go:175:37: undefined: zap.Inline
../../../../pkg/mod/github.com/go-logr/zapr@v1.3.0/zapr_slog.go:42:14: undefined: zap.Inline
Everything is fine when running on Go 1.20 but when I
go vet
on Go 1.21 issues are found.Originally found in this PR
The text was updated successfully, but these errors were encountered: