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
/go/pkg/mod/k8s.io/[email protected]/applyconfigurations/meta/v1/unstructured.go:64:38: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document)
#1286
I just updated an application that uses client-go, which was working before. After the library upgrade, I encountered the error below. Does anyone know what the workaround is?
> [app stage-0 7/7] RUN go build -o app:
15.33 # k8s.io/client-go/applyconfigurations/meta/v1
15.33 /go/pkg/mod/k8s.io/[email protected]/applyconfigurations/meta/v1/unstructured.go:64:38: cannot use doc (variable of type*"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to proto.NewOpenAPIData
The text was updated successfully, but these errors were encountered:
Facing it in k8s.io/client-go v0.28.1 # sigs.k8s.io/kustomize/kyaml/openapi /root/go/pkg/mod/sigs.k8s.io/kustomize/[email protected]/openapi/openapi.go:683:33: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to swagger.FromGnostic make: *** [Makefile:55: vet] Error 1
I just updated an application that uses client-go, which was working before. After the library upgrade, I encountered the error below. Does anyone know what the workaround is?
The text was updated successfully, but these errors were encountered: