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

Bump linter to 1.61.0 #1068

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Conversation

rubenvp8510
Copy link
Collaborator

@rubenvp8510 rubenvp8510 commented Oct 22, 2024

I had to bump the linter because old version got stuck in the actions. Not sure what changed, but bumping the version seems to work.

Signed-off-by: Ruben Vargas <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 67.89%. Comparing base (7dcf94c) to head (2583fa1).

Files with missing lines Patch % Lines
cmd/gather/cluster/write.go 0.00% 3 Missing ⚠️
cmd/generate/main.go 25.00% 2 Missing and 1 partial ⚠️
cmd/gather/cluster/cluster.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1068      +/-   ##
==========================================
- Coverage   69.18%   67.89%   -1.30%     
==========================================
  Files         110      110              
  Lines        7069     8656    +1587     
==========================================
+ Hits         4891     5877     +986     
- Misses       1888     2488     +600     
- Partials      290      291       +1     
Flag Coverage Δ
unittests 67.89% <20.00%> (-1.30%) ⬇️

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.

Signed-off-by: Ruben Vargas <[email protected]>
@@ -139,7 +139,7 @@ func (r *TempoStackReconciler) Reconcile(ctx context.Context, req ctrl.Request)
//
// - For any other error: Set the status condition to Failed,
// the Reason to "FailedReconciliation" and the message to the error message.
func (r *TempoStackReconciler) handleReconcileStatus(ctx context.Context, log logr.Logger, tempo v1alpha1.TempoStack, reconcileError error) (ctrl.Result, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@iblancasa @andreasgerstmayr I a comment here to ignore this rule, but might need to change something here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think ignoring the linter rule is fine, it's just complaining that the first return parameter is always ctrl.Result{}

@andreasgerstmayr andreasgerstmayr merged commit a312f46 into grafana:main Oct 22, 2024
11 of 12 checks passed
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.

4 participants