Skip to content

fix: param name of util function (for linter)#270

Merged
mattwelke merged 1 commit intomainfrom
fix/len-variable-name-nov23
Nov 24, 2024
Merged

fix: param name of util function (for linter)#270
mattwelke merged 1 commit intomainfrom
fix/len-variable-name-nov23

Conversation

@mattwelke
Copy link
Contributor

@mattwelke mattwelke commented Nov 24, 2024

Description

Our Revive linter is disallowing the name len for a parameter. We made this code a while ago, but the linter is raising the issue now. It may be an update to the linter. This changes the parameter name to resolve it.

Also applies changes from latest make reviewable so that the PR can be merged.

Signed-off-by: Matt Welke <matt.welke@spectrocloud.com>
@mattwelke mattwelke requested a review from a team as a code owner November 24, 2024 03:50
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 24, 2024
@mattwelke mattwelke removed the request for review from arturshadnik November 24, 2024 03:50
@dosubot dosubot bot added the refactoring Refactoring / tech debt label Nov 24, 2024
@codecov
Copy link

codecov bot commented Nov 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@@           Coverage Diff           @@
##             main     #270   +/-   ##
=======================================
  Coverage   49.38%   49.38%           
=======================================
  Files          46       46           
  Lines        8100     8100           
=======================================
  Hits         4000     4000           
  Misses       3233     3233           
  Partials      867      867           
Files with missing lines Coverage Δ
pkg/utils/string/string.go 82.35% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57f34c7...ff34b82. Read the comment docs.


🚨 Try these New Features:

@mattwelke mattwelke merged commit b840e3b into main Nov 24, 2024
@mattwelke mattwelke deleted the fix/len-variable-name-nov23 branch November 24, 2024 04:05
mattwelke pushed a commit that referenced this pull request Nov 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.5](v0.2.4...v0.2.5)
(2024-11-24)


### Bug Fixes

* param name of util function (for linter)
([#270](#270))
([b840e3b](b840e3b))


### Dependency Updates

* **deps:** update all non-major dependencies
([#266](#266))
([43b9fbc](43b9fbc))
* **deps:** update all non-major dependencies
([#269](#269))
([0e6b008](0e6b008))
* **deps:** update all non-major dependencies to v0.31.3
([#264](#264))
([7557f89](7557f89))
* **deps:** update build digest to 5ffe724
([#263](#263))
([112c405](112c405))
* **deps:** update build digest to dd09b58
([#267](#267))
([57f34c7](57f34c7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Refactoring / tech debt size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant