-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix: flag panic if a flag is defined after being set #997
Conversation
/retest |
can you squash commits? thanks. |
btw, do we need to cherrypick and fix on other csi drivers? |
commit e405f76 Author: weizhichen <[email protected]> Date: Thu Aug 24 09:35:14 2023 +0000 fix commit de03fda Author: weizhichen <[email protected]> Date: Thu Aug 24 09:33:26 2023 +0000 fix commit 2389047 Author: weizhichen <[email protected]> Date: Thu Aug 24 08:20:30 2023 +0000 fix commit 3834b62 Author: weizhichen <[email protected]> Date: Thu Aug 24 08:11:12 2023 +0000 fix log panic
Other CSI driver doesn't have such usage. So, I think not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, cvvz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick release-1.20 |
/cherrypick release-1.19 |
@andyzhangx: new pull request created: #1052 In response to this:
Instructions 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/test-infra repository. |
@andyzhangx: new pull request created: #1053 In response to this:
Instructions 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/test-infra repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
golang 1.21 introduced a fix to flag: golang/go@0040183, which makes the
Set
fail loudly (panic) if it happened before the definition. Before go1.21 it just fails silently.Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: