-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
remove unused constant #34515
remove unused constant #34515
Conversation
Can a kubernetes member verify that this patch is reasonable to test? If so, please reply with "@k8s-bot ok to test" on its own line. Regular contributors should join the org to skip this step. |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
"@k8s-bot ok to test |
@k8s-bot ok to test |
@jimengliu sorry for the latency on the review. |
I don't see that this constant is used at all -- am I missing something, @jimengliu? |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA. Once you've signed, please reply here (e.g. "I signed it!") and we'll verify. Thanks.
If you have questions or suggestions related to this bot's behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
|
@pmorie It is not used at this moment, but it does not mean it won't get used in future by someone. So the solution either is to remove it or change it, since it is indeed wrong. |
@jimengliu I'd prefer to remove unused code over correcting problems that may exist with it. If you change this to delete it, I'll LGTM. |
sure, updated the PR. |
/lgtm LGTM from the bulk LGTM tool |
rebased |
[APPROVALNOTIFIER] This PR is APPROVED The following people have approved this PR: jimengliu, thockin Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@k8s-bot gce etcd3 e2e test this |
@k8s-bot gce etcd3 e2e test this |
@k8s-bot node e2e test this |
@k8s-bot non-cri e2e test this |
@k8s-bot node e2e test this |
@k8s-bot gce etcd3 e2e test this |
/retest |
5 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 34515, 47236, 46694, 47819, 47792) |
@jimengliu: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
What this PR does / why we need it:
In flexvolume constant definitions, fix typo StatusFailure string to "Failure", not "Failed" at
kubernetes/pkg/volume/flexvolume/flexvolume_util.go
Line 45 in b359034
Which issue this PR fixes (optional, in
fixes #<issue number>(, #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes ##34510
Special notes for your reviewer:
Simple string literal change, but hopefully will prevent future confusion for developers.
This change is