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

Update Linter usage in project #373

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Update Linter usage in project #373

merged 1 commit into from
Jan 26, 2024

Conversation

thunderboltsid
Copy link
Contributor

@thunderboltsid thunderboltsid commented Jan 26, 2024

Linting targets weren't included in build processes making way for unlinted go and yaml files in the codebase.
This PR add the linters in place using golangci-lint and yamllint and fixes the linting errors highlighted.

@thunderboltsid thunderboltsid changed the title Fix issues highlighted by linters Update Linter usage in project Jan 26, 2024
Most of these were extraneous whitespace or lack of newlines.
Copy link

✅ None of your dependencies violate policy!

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cca8316) 15.21% compared to head (c9ff756) 15.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #373      +/-   ##
==========================================
+ Coverage   15.21%   15.24%   +0.02%     
==========================================
  Files          18       18              
  Lines        1209     1207       -2     
==========================================
  Hits          184      184              
+ Misses       1025     1023       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thunderboltsid
Copy link
Contributor Author

/retest

Copy link
Contributor

@adiantum adiantum left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@nutanix-cn-prow-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adiantum, thunderboltsid

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [adiantum,thunderboltsid]

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

@thunderboltsid
Copy link
Contributor Author

/hold

@thunderboltsid
Copy link
Contributor Author

/test e2e-capx-controller-upgrade

@thunderboltsid
Copy link
Contributor Author

/hold cancel

@thunderboltsid thunderboltsid merged commit c075eb4 into main Jan 26, 2024
12 checks passed
@thunderboltsid thunderboltsid deleted the jira/krbn-7968 branch January 26, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants