Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.8] [backport] Added linter and removed deprecated and unused packages (#357) #359

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

enrichman
Copy link
Contributor

@enrichman enrichman commented Apr 10, 2024

Ref:


This is a cherrypick of #357 to backport the fixes added to v2.9.

@enrichman enrichman linked an issue Apr 10, 2024 that may be closed by this pull request
@enrichman enrichman mentioned this pull request Apr 10, 2024
@enrichman enrichman self-assigned this Apr 10, 2024
* Create go.yml

* updated golangci config file

* renamed action file

* removed unused prompt command

* fixed SA6005 (staticcheck): used strings.EqualFold

* removed unused monitor package

* removed unused funcs and fields

* fixed SA1019 (staticcheck): removed deprecations

* added missing error checking

* fixed linter

* removed unused (and unimplemented) commands

* added error to getClusterK8sOptions

* oneliner err check in displayListServers

* removed unused docker dependency
@enrichman enrichman marked this pull request as ready for review April 10, 2024 16:15
@enrichman enrichman requested review from pmatseykanets, crobby, JonCrowther and bigkevmcd and removed request for JonCrowther April 10, 2024 16:15
Copy link
Contributor

@crobby crobby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@enrichman enrichman merged commit 6d6eb77 into rancher:v2.8 Apr 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CLI] Update Go dependencies in rancher/cli
3 participants