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 Lint Rules: confusing-results & receiver-naming #5524

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

FlamingSaint
Copy link
Member

Which problem is this PR solving?

Description of the changes

  • Enabled confusing-results & receiver-naming in revive linter
  • Used named outputs when datatype of outputs are same
  • Made changes to maintain the same receiver name

How was this change tested?

  • make lint make test

Checklist

Signed-off-by: FlamingSaint <raghuramkannan400@gmail.com>
@FlamingSaint FlamingSaint requested a review from a team as a code owner June 3, 2024 22:39
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (b295383) to head (5c8f299).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5524       +/-   ##
===========================================
+ Coverage   54.24%   96.19%   +41.94%     
===========================================
  Files         161      327      +166     
  Lines        8369    16013     +7644     
===========================================
+ Hits         4540    15403    +10863     
+ Misses       3383      435     -2948     
+ Partials      446      175      -271     
Flag Coverage Δ
badger_v1 8.05% <0.00%> (ø)
badger_v2 1.93% <0.00%> (ø)
cassandra-3.x-v1 16.44% <40.00%> (ø)
cassandra-3.x-v2 1.85% <0.00%> (ø)
cassandra-4.x-v1 16.44% <40.00%> (ø)
cassandra-4.x-v2 1.85% <0.00%> (ø)
elasticsearch-7-v1 18.88% <13.33%> (-0.02%) ⬇️
elasticsearch-8-v1 19.08% <13.33%> (ø)
elasticsearch-8-v2 19.08% <13.33%> (+0.01%) ⬆️
grpc_v1 9.48% <3.33%> (ø)
grpc_v2 7.53% <3.33%> (ø)
kafka 9.78% <0.00%> (ø)
opensearch-1-v1 18.92% <13.33%> (-0.02%) ⬇️
opensearch-2-v1 18.92% <13.33%> (-0.02%) ⬇️
opensearch-2-v2 18.92% <13.33%> (ø)
unittests 93.88% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Jun 3, 2024
Signed-off-by: FlamingSaint <raghuramkannan400@gmail.com>
@yurishkuro yurishkuro enabled auto-merge (squash) June 3, 2024 23:09
@yurishkuro
Copy link
Member

hmm, DCO check is stuck. I see you changed your name/email in git, did you also change it the same way in your GitHub profile?

@FlamingSaint
Copy link
Member Author

hmm, DCO check is stuck. I see you changed your name/email in git, did you also change it the same way in your GitHub profile?

I didn't change my name/email in git

@yurishkuro yurishkuro disabled auto-merge June 4, 2024 14:53
@yurishkuro yurishkuro merged commit 2438ec0 into jaegertracing:main Jun 4, 2024
39 checks passed
@FlamingSaint FlamingSaint deleted the linter_1 branch June 5, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants