Skip to content

Use "gitlab_com_subscription" instead of "Saas.enabled?"

What does this MR do and why?

Related discussion: !141978 (comment 1745429029)

Currently MR does not change any functionality, just changes to the coding style.

We should not use ::Gitlab::Saas.enabled? in callouts_helper.rb as it should not be used outside of ::Gitlab::Saas.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No UI changes.

How to set up and validate locally

The success of the pipeline is enough.

Edited by Zhiyuan Lu

Merge request reports

Loading