Skip to content

Subscription portal update_namespace_name update

What does this MR do and why?

Follow up for !69896 (merged)

Adds logic to Gitlab::SubscriptionPortal::Client.update_namespace_name so it can handle top level errors:

=> {:success=>true, :data=>{"errors"=>[...], ...} }

Resulting from query execution (eg. authentication errors) and respond with failure instead of raising an exception.

🏁 All these changes are behind a feature flag ref: #341056 (closed) so this ~bug is a fix for this feature that is not yet released.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vladlena Shumilo

Merge request reports

Loading