controller-tools
controller-tools copied to clipboard
:bug: return a bit more verbosy error messages for go-package errors
When having sub-packages, and one of them is out of sync, we might get an error such as:
err: exit status 1: stderr: go: updates to go.mod needed; to update it:
go mod tidy
Although this error is true, it was a nightmare to debug it and figure out that it was related to a sub-package.
This PR introduces a bit more verbosy error message that can help you to debug the issue:
Error: error in /Users/AlmogBaku/projects/myproject/subpackage: err: exit status 1: stderr: go: updates to go.mod needed; to update it:
go mod tidy
might be related to #718
/assign @mengqiy
New changes are detected. LGTM label has been removed.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: AlmogBaku, camilamacedo86
Once this PR has been reviewed and has the lgtm label, please ask for approval from mengqiy by writing /assign @mengqiy
in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
Any updates on when this PR can be merged? It indeed is a nightmare to debug.
The requested changes by @joelanford are addressed so we can :
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by: AlmogBaku, camilamacedo86
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment