tanzu-cli icon indicating copy to clipboard operation
tanzu-cli copied to clipboard

Remove the deprecated API use of tanzu-plugin-runtime in the CLI codebase

Open anujc25 opened this issue 2 years ago • 0 comments

Describe the feature request

  • Remove the deprecated API use of tanzu-plugin-runtime in the Tanzu CLI codebase

  • As part of https://github.com/vmware-tanzu/tanzu-plugin-runtime/pull/34, APIs were marked as deprecated.

  • https://github.com/vmware-tanzu/tanzu-cli/pull/127 update the go mod dependency to consume the tanzu-plugin-runtime code with the APIs deprecated.

  • Because of lack of time, https://github.com/vmware-tanzu/tanzu-cli/pull/127 ignores the deprecation warning messages in the test file as well as the actual codebase by adding the // nolint:staticcheck // Deprecated comment.

  • As part of this issue, we should stop using the deprecated APIs and update the codebase to use alternate API.

Describe alternative(s) you've considered None

Additional context

anujc25 avatar Mar 21 '23 21:03 anujc25