Chore: Spelling fix for linter (#11482)

**What this PR does / why we need it**:
Just a minor spelling fix in a comment, no functional change.

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e3ec)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](0d4416a4b0)
pull/11487/head
Paul Rogers 2 years ago committed by GitHub
parent 6b4d27c955
commit 3da8a29b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/queue/queue.go

@ -139,7 +139,7 @@ func (q *RequestQueue) ReleaseRequests(items []Request) {
// The caller is responsible for returning the dequeued requests back to the
// pool by calling ReleaseRequests(items).
func (q *RequestQueue) DequeueMany(ctx context.Context, last QueueIndex, consumerID string, maxItems int, maxWait time.Duration) ([]Request, QueueIndex, error) {
// create a context for dequeuing with a max time we want to wait to fullfill the desired maxItems
// create a context for dequeuing with a max time we want to wait to fulfill the desired maxItems
dequeueCtx, cancel := context.WithTimeout(ctx, maxWait)
defer cancel()

Loading…
Cancel
Save