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
What did you do to encounter the bug?
run unit-test or vet in main branch
What did you expect?
successful tests
What happened instead?
$ make unit-test
go test -race -cover ./pkg/...
# sigs.k8s.io/json/internal/golang/encoding/json
../../go/pkg/mod/sigs.k8s.io/json@v0.0.0-20211020170558-c049b76a60c6/internal/golang/encoding/json/encode.go:1249:12: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
../../go/pkg/mod/sigs.k8s.io/json@v0.0.0-20211020170558-c049b76a60c6/internal/golang/encoding/json/encode.go:1255:18: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
FAIL github.com/mongodb/mongodb-atlas-kubernetes/pkg/api/v1 [build failed]
? github.com/mongodb/mongodb-atlas-kubernetes/pkg/api/v1/project [no test files]
? github.com/mongodb/mongodb-atlas-kubernetes/pkg/api/v1/provider [no test files]
FAIL github.com/mongodb/mongodb-atlas-kubernetes/pkg/controller/atlas [build failed]
FAIL github.com/mongodb/mongodb-atlas-kubernetes/pkg/controller/atlascluster [build failed]
FAIL github.com/mongodb/mongodb-atlas-kubernetes/pkg/controller/atlasdatabaseuser [build failed]
What did you do to encounter the bug?
run
unit-test
orvet
in main branchWhat did you expect?
successful tests
What happened instead?
Additional context
appears to require go1.17
kubernetes-sigs/controller-tools#643
https://github.com/kubernetes-sigs/controller-runtime/blob/1f06556c918de094e1060e54bd73a2d70ba9b544/go.mod#L3
The text was updated successfully, but these errors were encountered: