Skip to content

Fix grammatical errors and remove duplicate code in logs_router#15655

Open
farhan11166 wants to merge 1 commit into
open-telemetry:mainfrom
farhan11166:cleanup-logs-router
Open

Fix grammatical errors and remove duplicate code in logs_router#15655
farhan11166 wants to merge 1 commit into
open-telemetry:mainfrom
farhan11166:cleanup-logs-router

Conversation

@farhan11166

Copy link
Copy Markdown

This commit addresses several minor issues across the codebase:

  • connector: Removed duplicate Consumer and PipelineIDs methods from logsRouter that shadowed the embedded BaseRouter methods. This also resolves a variable shadowing issue where var errors error shadowed the imported errors package.
  • service/internal/graph: Fixed grammatically incorrect error messages in the graph builders that produced strings like "error creating exporter X is not supported".
  • exporter/exporterhelper: Fixed grammar in queue comments ("consumer don't" to "consumers don't", and "allow distinguish" to "allow distinguishing").
  • processor/batchprocessor: Fixed godoc grammar ("batcher is describes").

Description

Link to tracking issue

Fixes #

Testing

Documentation

Authorship

  • [ x] I, a human, wrote this pull request description myself.

This commit addresses several minor issues across the codebase:
- connector: Removed duplicate `Consumer` and `PipelineIDs` methods
  from `logsRouter` that shadowed the embedded `BaseRouter` methods.
  This also resolves a variable shadowing issue where `var errors error`
  shadowed the imported `errors` package.
- service/internal/graph: Fixed grammatically incorrect error messages
  in the graph builders that produced strings like "error creating
  exporter X is not supported".
- exporter/exporterhelper: Fixed grammar in queue comments ("consumer don't"
  to "consumers don't", and "allow distinguish" to "allow distinguishing").
- processor/batchprocessor: Fixed godoc grammar ("batcher is describes").
@farhan11166
farhan11166 requested review from a team, bogdandrutu and dmitryax as code owners July 24, 2026 17:14
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 24, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: farhan11166 / name: farhan11166 (7162d31)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant