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

chore(lint-error): remove unused stepCount in engine.go #13709

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

kavirajk
Copy link
Contributor

@kavirajk kavirajk commented Jul 30, 2024

What this PR does / why we need it:
Recent PR removed the usage stepCount. But not the assignment, causing some CI checks to fail

This may block any PRs to merge

INFO [runner] linters took 59.237147569s with stages: goanalysis_metalinter: 58.68919861s
pkg/logql/engine.go:449:3: ineffectual assignment to stepCount (ineffassign)
		stepCount = 1
		^

This PR removes the unused stepCount

Which issue(s) this PR fixes:
Fixes #NA

Special notes for your reviewer:
Blocks PR to be merged. e.g: #11132

Checklist

This may block any PRs to merge because it causes following failure in CI checks
```
INFO [runner] linters took 59.237147569s with stages: goanalysis_metalinter: 58.68919861s
pkg/logql/engine.go:449:3: ineffectual assignment to stepCount (ineffassign)
		stepCount = 1
		^
```

This PR removes the unused `stepCount`

Signed-off-by: Kaviraj Kanagaraj <kavirajkanagaraj@gmail.com>
@kavirajk kavirajk requested a review from a team as a code owner July 30, 2024 09:57
Copy link
Contributor

@poyzannur poyzannur left a comment

Choose a reason for hiding this comment

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

lgtm

@kavirajk kavirajk merged commit 94bd3a0 into main Jul 30, 2024
62 checks passed
@kavirajk kavirajk deleted the kavirajk/fix-golang-ci-lint-remove-unused-assign branch July 30, 2024 10:16
benclive pushed a commit to cyriltovena/loki that referenced this pull request Jul 31, 2024
…13709)

Signed-off-by: Kaviraj Kanagaraj <kavirajkanagaraj@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants