Open pradeep288 opened 2 years ago
Hi @pradeep288 , I could not replicate this issue. Could you elaborate more on why you run go build github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/tkgpackageclient
?
A guess would be there are some issues in you go.mod/go.sum file.
Bug description go build github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/tkgpackageclient fails
Affected product area (please put an X in all that apply)
Expected behavior build should succeed
Version (include the SHA if the version is not obvious) v.0.10.0
Environment where the bug was observed (cloud, OS, etc) MAC
Relevant Debug Output (Logs, manifests, etc)
github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/tkgpackageclient
../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:89:64: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Delete: runtime.Object does not implement client.Object (missing GetAnnotations method) ../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:97:64: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Delete: runtime.Object does not implement client.Object (missing GetAnnotations method) ../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:108:64: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Delete: runtime.Object does not implement client.Object (missing GetAnnotations method) ../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:119:64: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Delete: runtime.Object does not implement client.Object (missing GetAnnotations method) ../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:177:59: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Get: runtime.Object does not implement client.Object (missing GetAnnotations method) ../../../pkg/mod/github.com/vmware-tanzu/tanzu-framework@v0.10.0/pkg/v1/tkg/tkgpackageclient/package_uninstall.go:195:64: cannot use obj (type runtime.Object) as type client.Object in argument to p.kappClient.GetClient().Delete: runtime.Object does not implement client.Object (missing GetAnnotations method)