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

enable errorlint and testifylint linters #2385

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Dec 11, 2023

Which problem is this PR solving?

Description of the changes

  • applies errorlint and testifylint linters

How was this change tested?

  • The ci passes

Checklist

Copy link

openshift-ci bot commented Dec 11, 2023

Hi @mmorel-35. Thanks for your PR.

I'm waiting for a jaegertracing member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (01f7dbb) 87.70% compared to head (b5e8908) 87.70%.
Report is 3 commits behind head on main.

❗ Current head b5e8908 differs from pull request most recent head de86e56. Consider uploading reports for the commit de86e56 to get more accurate results

Files Patch % Lines
pkg/storage/elasticsearch_secrets.go 33.33% 2 Missing ⚠️
pkg/controller/jaeger/elasticsearch.go 0.00% 1 Missing ⚠️
pkg/controller/jaeger/jaeger_controller.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2385      +/-   ##
==========================================
- Coverage   87.70%   87.70%   -0.01%     
==========================================
  Files         102      102              
  Lines        7266     7262       -4     
==========================================
- Hits         6373     6369       -4     
  Misses        697      697              
  Partials      196      196              

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

@iblancasa
Copy link
Collaborator

iblancasa commented Dec 11, 2023

Hi @mmorel-35, thanks for your PR!
To make it easier to track the changes and review the PR, could you split it? For instance, one could be enabling the linters, and the other one enabling errorlint and testifylint linters.

Thanks!

@mmorel-35 mmorel-35 marked this pull request as draft December 11, 2023 17:55
@mmorel-35 mmorel-35 changed the title Use Go standard errors with errorlint and testifylint linters enable errorlint and testifylint linters Dec 12, 2023
@mmorel-35 mmorel-35 marked this pull request as ready for review December 12, 2023 14:23
@iblancasa iblancasa enabled auto-merge (squash) December 12, 2023 21:39
@mmorel-35
Copy link
Contributor Author

mmorel-35 commented Dec 13, 2023

Isn't the "ok-to-test" label missing ?

@iblancasa
Copy link
Collaborator

Isn't the "ok-to-test" label missing ?

Yes, but I wanted the @rubenvp8510 review before adding it.

@iblancasa iblancasa merged commit 7d16675 into jaegertracing:main Dec 13, 2023
38 checks passed
@mmorel-35 mmorel-35 deleted the pkg_errors branch December 13, 2023 11:57
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