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
When i clone after,make command caused this error.How to fix it ,thank you very much.
yyc@yyc-virtual-machine:~/work/src/choerodon-cluster-agent$ go mod download
yyc@yyc-virtual-machine:~/work/src/choerodon-cluster-agent$ go build
package github.com/choerodon/choerodon-cluster-agent: build constraints exclude all Go files in /home/yyc/work/src/choerodon-cluster-agent
yyc@yyc-virtual-machine:~/work/src/choerodon-cluster-agent$ make
GOBIN=/home/yyc/work/src/choerodon-cluster-agent/bin go install -tags '' -ldflags '-X github.com/choerodon/choerodon-cluster-agent/pkg/version.GitCommit=27affc06ef90524aee5ca034e3635e5ff34383a8 -X github.com/choerodon/choerodon-cluster-agent/pkg/version.GitTreeState=clean' github.com/choerodon/choerodon-cluster-agent/...
# github.com/choerodon/choerodon-cluster-agent/pkg/apis/certificate/v1/client/informers/externalversions/certmanager/v1
pkg/apis/certificate/v1/client/informers/externalversions/certmanager/v1/certificate.go:65:35: client.CertmanagerV1().Certificates undefined (type "github.com/choerodon/choerodon-cluster-agent/pkg/apis/certificate/v1/client/clientset/versioned/typed/certmanager/v1".CertmanagerV1Interface has no field or method Certificates)
pkg/apis/certificate/v1/client/informers/externalversions/certmanager/v1/certificate.go:71:35: client.CertmanagerV1().Certificates undefined (type "github.com/choerodon/choerodon-cluster-agent/pkg/apis/certificate/v1/client/clientset/versioned/typed/certmanager/v1".CertmanagerV1Interface has no field or method Certificates)
# k8s.io/apimachinery/pkg/apimachinery
certificate/apimachinery/types.go:48:57: undefined: meta.VersionInterfaces
certificate/apimachinery/types.go:51:52: undefined: meta.VersionInterfaces
certificate/apimachinery/types.go:57:79: undefined: meta.VersionInterfaces
certificate/apimachinery/types.go:69:89: undefined: meta.VersionInterfaces
certificate/apimachinery/types.go:74:63: undefined: meta.VersionInterfaces
make: *** [Makefile:16: build] Error 2
When i clone after,make command caused this error.How to fix it ,thank you very much.
my go env:
The text was updated successfully, but these errors were encountered: