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

Some linting errors #2532

Merged
merged 2 commits into from
May 4, 2020
Merged

Some linting errors #2532

merged 2 commits into from
May 4, 2020

Conversation

iwankgb
Copy link
Collaborator

@iwankgb iwankgb commented May 2, 2020

The only remaining errors (besides fixed in #2513) are those from utils/cpuload/netlink/netlink.go - do you think it's worth fixing them? netlink.addAttribute() is used in two places and in both cases buffers are based on slice of bytes; I can't imagine when it would be impossible to write to them.

Maciej "Iwan" Iwanowski added 2 commits May 2, 2020 22:05
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
@dashpole
Copy link
Collaborator

dashpole commented May 4, 2020

entirely up to you whether or not to fix them. It generally seems like a good thing to clean up the linter errors, but no one has touched the load reader code in years...

Copy link
Collaborator

@dashpole dashpole left a comment

Choose a reason for hiding this comment

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

lgtm

@dashpole dashpole merged commit a470ec1 into google:master May 4, 2020
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.

2 participants