Skip to content
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

fix(clouddriver): Handle the Retrofit conversionError in ClusterSizePreconditionTask #4708

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

Pranav-b-7
Copy link
Contributor

The oortService already uses SpinnakerRetrofitErrorHandler as part of the commit: 84a7106, so constructing the conversionError with RetrofitError would result in unexpected behaviour.

Wrapping up the conversion error into SpinnakerConversionError will fix this bug.

…reconditionTask

The oortService already uses SpinnakerRetrofitErrorHandler as part of the commit: 84a7106, so constructing the conversionError with RetrofitError would result in unexpected behaviour.

Wrapping up the conversion error into SpinnakerConversionError will fix this bug.
@Pranav-b-7 Pranav-b-7 force-pushed the fix-conversion-error-migration branch from e164a78 to 3148a3f Compare April 17, 2024 18:08
…PreconditionTask

The expectation is that the oortService APIs must throw only Spinnaker*Exceptions as it is already using SpinnakerRetrofitErrorHandler.

This test is to ensure that any future modifications on this fix must not result in unexpected behaviour.
@mattgogerly mattgogerly added the ready to merge Approved and ready for merge label Apr 18, 2024
@mergify mergify bot added the auto merged Merged automatically by a bot label Apr 18, 2024
@mergify mergify bot merged commit ae3ef6c into spinnaker:master Apr 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.35
Projects
None yet
3 participants