Skip to content

Update Client.cs #66

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

Merged
merged 3 commits into from
Feb 24, 2025
Merged

Update Client.cs #66

merged 3 commits into from
Feb 24, 2025

Conversation

f-lalonde
Copy link
Contributor

@f-lalonde f-lalonde commented Feb 13, 2025

Some routes (at the very least : /cloud/project/{serviceName}/kube/{kubeId}/nodepool/{nodePoolId}) returns the http status code 204.

Currently, this creates a null exception, as it isn't HttpStatusCode.OK and there isn't an Exception to extract.

Fixes : #63

Signed-off-by: Francis Lalonde <xargath@hotmail.com>

Some route (eg /cloud/project/{serviceName}/kube/{kubeId}/nodepool/{nodePoolId}) returns status code 204. 
Currently, this creates a null exception, as it isn't HttpStatusCode.OK and there isn't an Exception to extract.
@amstuta
Copy link
Contributor

amstuta commented Feb 14, 2025

Thanks for your contribution @f-lalonde,

Could you also add a test related to this change ? Thanks !

@f-lalonde
Copy link
Contributor Author

Thanks for your contribution @f-lalonde,

Could you also add a test related to this change ? Thanks !

Done! Let me know if there's anything else that's required.

amstuta
amstuta previously approved these changes Feb 19, 2025
@amstuta
Copy link
Contributor

amstuta commented Feb 19, 2025

I missed it but you should sign your commit and after that we'll be able to merge !

Merging is blocked
Commits must have verified signatures. 

@f-lalonde f-lalonde force-pushed the patch-1 branch 3 times, most recently from 1d10714 to bbe0a20 Compare February 19, 2025 18:38
@f-lalonde
Copy link
Contributor Author

f-lalonde commented Feb 19, 2025

Sorry for all the force push, it's the first time I have to sign a commit / amend a commit with a signature. Everything should be in order now 🤞
Edit : the signature did not apply on the previous commits, I have reset / force-pushed the change again with the signature. No code was modified.

Signed-off-by: Francis Lalonde <xargath@hotmail.com>
@amstuta amstuta merged commit 7682c69 into ovh:master Feb 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to handle HTTP 204 correctly
2 participants