fix: apply gofmt formatting to package doc comment in klog.go#435
Conversation
|
This issue is currently awaiting triage. If klog contributors determine this is a relevant issue, they will accept it by applying the The DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@pohly @harshanarayana please take a look |
Root cause analysis: why PR #432's pipeline didn't catch the formatting errors1. Lint workflow never ran on PR #432 (primary cause)PR #432 was opened from a fork ( Evidence from the workflow run history:
The lint only executed after the merge, on the 2. Lint is not a required check for Prow/TideThe Timeline summary
Suggestions to prevent this in the future
|
|
@pohly the PR has been updated as requested:
Could you re-review when you get a chance? Thanks! |
pohly
left a comment
There was a problem hiding this comment.
Confirmed locally that gofmt is happy with this results.
Please squash into a single commit.
|
/lgtm After kubernetes/test-infra#36671 got merged this should not merge the PR. Seems to have worked: the two lint jobs are shown as "Waiting for status to be reported" and "Required". |
|
/hold For squashing. |
f88ad3d to
713c737
Compare
|
@pohly Squashed into a single commit. PR is ready for review. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierluigilenoci, pohly The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Fix mixed tab/space indentation in the package doc comment of
klog.go(lines 59-105) introduced by #432, which caused thegolangci-lintgofmt check to fail in CI.To prevent this from happening again, a separate PR has been submitted to add lint as a required status check in Prow branch protection: kubernetes/test-infra#36671.
Root cause
See root cause analysis comment for details on why PR #432's pipeline didn't catch the formatting error.
Test plan
gofmt -d klog.goshows no diffgo build ./...compiles successfully