Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues on Go 1.21 #77

Closed
janisz opened this issue Mar 12, 2024 · 1 comment
Closed

Build issues on Go 1.21 #77

janisz opened this issue Mar 12, 2024 · 1 comment

Comments

@janisz
Copy link

janisz commented Mar 12, 2024

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

Originally found in this PR

@janisz
Copy link
Author

janisz commented Mar 12, 2024

Closing as I found I have a replace in my go.mod

@janisz janisz closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant