Skip to content

fix(instance): EoS warning: filter product list by offer_id #3203

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 2 commits into from
Jul 22, 2025

Conversation

Mia-Cross
Copy link
Contributor

The function to get the End of Service date of a commercial type to display a warning if it's about to be deprecated was filtering results from the Product Catalog according to the product field. But the content of this field might change in the future, whereas the offer_id nested attribute will not, therefore we should use this field as a filter instead.

This PR also removes a check where condition is always true.

@Mia-Cross Mia-Cross self-assigned this Jul 8, 2025
@Mia-Cross Mia-Cross added the instance Instance issues, bugs and feature requests label Jul 8, 2025
@Mia-Cross Mia-Cross force-pushed the instance_eos_filter_by_offer_id branch from 8994127 to c1c011c Compare July 21, 2025 09:48
@Mia-Cross Mia-Cross marked this pull request as ready for review July 21, 2025 12:05
@Mia-Cross Mia-Cross requested review from a team as code owners July 21, 2025 12:05
@remyleone remyleone added this pull request to the merge queue Jul 22, 2025
Merged via the queue into scaleway:master with commit 8f1ab5c Jul 22, 2025
44 checks passed
@Mia-Cross Mia-Cross deleted the instance_eos_filter_by_offer_id branch July 22, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
baremetal instance Instance issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants