-
Notifications
You must be signed in to change notification settings - Fork 528
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
Bad deprecation notices in 0.27.1 ?! Referenced PollWithContextTimeout
does not exist ?!
#153
Comments
See also kubernetes/kubernetes#116712 |
* except k8s.io/api and friends - see: * kubernetes/apimachinery#153 * go get -u ./... * go get -u k8s.io/apimachinery@v0.26.1 Signed-off-by: Alex Aizman <alex.aizman@gmail.com>
Fixed by https://github.com/kubernetes/kubernetes/pull/117143/files |
I can see this problem in
|
WWIW, can also confirm on 0.27.5. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
I understand that no one has time, but can no one look into this and see if this is a bug? |
yep no one looked :) |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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. |
After a bump to 0.27.1 the golang-ci-linter told me
Looking at the 0.27.1 documentation I find
PollWithContext
, but noPollWithContextTimeout
.https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait#PollWithContext
https://pkg.go.dev/search?q=PollWithContextTimeout&m=symbol
Grepping the package sources I find that
PollWithContextTimeout
is only referenced in the deprecation notices in the comments. No implementation is found. See below.The nearest similar function looks to be https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait#PollUntilContextTimeout
What is the actual method to use instead of the deprecated ones ?
The text was updated successfully, but these errors were encountered: