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][receiver/awscloudwatchmetrics] addressing lint issues #22857

Conversation

codeboten
Copy link
Contributor

Updating golangci-lint raises the following warnings:

receiver.go:42:53: unused-parameter: parameter 'host' seems to be unused, consider removing or renaming it as _ (revive)
func (m *metricReceiver) Start(ctx context.Context, host component.Host) error {
                                                    ^
receiver.go:49:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func (m *metricReceiver) Shutdown(ctx context.Context) error {

Linked issue: #20424

Updating golangci-lint raises the following warnings:

```
receiver.go:42:53: unused-parameter: parameter 'host' seems to be unused, consider removing or renaming it as _ (revive)
func (m *metricReceiver) Start(ctx context.Context, host component.Host) error {
                                                    ^
receiver.go:49:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func (m *metricReceiver) Shutdown(ctx context.Context) error {
```

Linked issue: open-telemetry#20424

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten merged commit 5a78abf into open-telemetry:main May 29, 2023
@codeboten codeboten deleted the codeboten/20424-awscloudwatchmetricsreceiver branch May 29, 2023 18:38
@github-actions github-actions bot added this to the next release milestone May 29, 2023
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.

3 participants