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

internal/cli/cmd: fix formatting linter issue #483

Merged
merged 2 commits into from
Aug 13, 2021

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Aug 12, 2021

The change in PR #481 wasn't properly formatted, leading to a
golangci-lint failure on master:
https://github.com/cilium/cilium-cli/runs/3310670546

Fix it by running goimports -w internal/cli/cmd/sysdump.go.

Also fix the golangci-lint GH action configuration to disable the only-new-issues which seems to lead to static checker failures correctly failing tests on PRs. See #484 for an example run.

The change in PR #481 wasn't properly formatted, leading to a
golangci-lint failure on master:
https://github.com/cilium/cilium-cli/runs/3310670546

Fix it by running `goimports -w internal/cli/cmd/sysdump.go`.

Signed-off-by: Tobias Klauser <[email protected]>
It seems this option doesn't work as intended. Since we currently do not
have any static checks failing on master, it should be safe to disable
the option.

Signed-off-by: Tobias Klauser <[email protected]>
@michi-covalent
Copy link
Contributor

not sure why the workflow is not starting. will re-push

@maintainer-s-little-helper
Copy link

Commit 7b66ebe does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper
Copy link

Commit 7b66ebe does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

internal/cli/cmd/sysdump.go Show resolved Hide resolved
@tklauser
Copy link
Member Author

AKS job failed on #367: https://github.com/cilium/cilium-cli/pull/483/checks?check_run_id=3314687814
Multicluster job failed on #361: https://github.com/cilium/cilium-cli/pull/483/checks?check_run_id=3314687986

Both are known flakes and this PR only affects code formatting and CI. And it fixes failing static checks on current master, thus merging.

@tklauser tklauser merged commit cd81590 into master Aug 13, 2021
@tklauser tklauser deleted the pr/tklauser/sysdump-fix-linter-issue branch August 13, 2021 09:09
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.

4 participants