Skip to content

Conversation

@arjunrn
Copy link
Contributor

@arjunrn arjunrn commented Jun 11, 2021

Added golangci-lint as a make target which can be run as a check.
Also fixed issues which were reported by golangci-lint.

Discovered an issue with cvo_scenarios_test.go where the ClusterVersion resource was never actually updated in the fake client but always recreated. Fixed this which led to some knock on changes in the tests.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 11, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 11, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: arjunrn
To complete the pull request process, please assign wking after the PR has been reviewed.
You can assign the PR to them by writing /assign @wking in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot requested review from jottofar and sdodson June 11, 2021 14:41
Signed-off-by: Arjun Naik <[email protected]>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 11, 2021

@arjunrn: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-agnostic-upgrade 65596d8 link /test e2e-agnostic-upgrade

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

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

The code changes which fixes specific linting issues should be in a separate commit. For example all deadcode fixes should a single commit. All gofmt fixes should in one commit. This will help the review easier . Also will help if someone wants to track the history behind some change.

@arjunrn
Copy link
Contributor Author

arjunrn commented Jun 17, 2021

Closing in favor of #598

@arjunrn arjunrn closed this Jun 17, 2021
@arjunrn arjunrn deleted the golangci-lint branch June 17, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants