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

receiver/collectdreceiver: fix lint issues #22861

Closed
Tracked by #20424
codeboten opened this issue May 29, 2023 · 1 comment · Fixed by #22978
Closed
Tracked by #20424

receiver/collectdreceiver: fix lint issues #22861

codeboten opened this issue May 29, 2023 · 1 comment · Fixed by #22978
Assignees

Comments

@codeboten
Copy link
Contributor

codeboten commented May 29, 2023

collectd.go:163:2: redefines-builtin-id: redefinition of the built-in function cap (revive)
        cap := 0
        ^
collectd.go:165:3: redefines-builtin-id: redefinition of the built-in function cap (revive)
                cap += len(*r.TypeS)
                ^
collectd.go:168:3: redefines-builtin-id: redefinition of the built-in function cap (revive)
                cap += len(*r.TypeInstance)
                ^
@github-actions
Copy link
Contributor

Pinging code owners for receiver/collectd: @atoulme. See Adding Labels via Comments if you do not have permissions to add labels yourself.

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

Successfully merging a pull request may close this issue.

2 participants