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

Fix go 1.20 build issues #948

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Fix go 1.20 build issues #948

merged 1 commit into from
Mar 15, 2023

Commits on Mar 15, 2023

  1. Fix go 1.20 build issues

    Error:
    [1/2] STEP 9/9: RUN CGO_ENABLED=0 go build -a -o manager main.go
    # k8s.io/kube-openapi/pkg/cached
    /go/pkg/mod/k8s.io/kube-openapi@v0.0.0-20230308215209-15aac26d736a/pkg/cached/cache.go:242:16: undefined: atomic.Pointer
    # go.uber.org/multierr
    /go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:224:20: undefined: atomic.Bool
    note: module requires Go 1.19
    Error: error building at STEP "RUN CGO_ENABLED=0 go build -a -o manager main.go": error while running runtime: exit status 2
    make: *** [Makefile:142: docker-build] Error 2
    bdunne committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    7634d63 View commit details
    Browse the repository at this point in the history