-
Notifications
You must be signed in to change notification settings - Fork 535
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
Misleading watch example uses watchObj.metadata.resourceVersion #1493
Comments
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 |
/remove-lifecycle stale |
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 |
/remove-lifecycle stale |
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 |
/remove-lifecycle stale |
Describe the bug
The example https://github.com/kubernetes-client/javascript/blob/master/examples/typescript/watch/watch-example.ts describes the following access "watchObj.metadata.resourceVersion". But in the implementation https://github.com/kubernetes-client/javascript/blob/master/src/watch.ts#L125 the watchObj has only object and type.
How about changing the example to watchObj.object.metadata.resourceVersion or change the call directly to object.metadata.resourceVersion?
The text was updated successfully, but these errors were encountered: