-
Notifications
You must be signed in to change notification settings - Fork 294
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
Some generated methods lacking ConfigureAwait(false) #1555
Comments
good catch could you please send pr to fix |
Sure. /assign |
Looking into it a little more, I don't think these methods actually work, or don't work anymore if they did previously. When I try to use So I'm guessing this is a bigger issue, that the client should support handling an upgrade request from the server, to switch to websockets (probably not worth worrying about SPDY at this point since it is being deprecated). I see that there already is a I'll take a look at it a little more when I get some time, to see how handling the upgrade might work. Maybe I'll look at some of the other clients to see what they're doing. |
cleaning up watch and streaming (connect) is on my todo list for long however, i believe websocket related is still working as you tested. thanks for reporting it |
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 |
Describe the bug
I was looking at something else and noticed some of the generated methods lack a
ConfigureAwait(false)
and do not dispose _result like the other methods do.Here is the code I'm referring to:
csharp/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
Lines 91 to 96 in 3dae1cf
Is this by design, or should it have
ConfigureAwait(false)
andusing var _result
like the other operations?Kubernetes C# SDK Client Version
v13
Server Kubernetes Version
n/a
Dotnet Runtime Version
n/a
To Reproduce
n/a
Expected behavior
n/a
KubeConfig
n/a
Where do you run your app with Kubernetes SDK (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: