Skip to content

Remove function that shadows delegation

Anatoli Babenia requested to merge abitrolly/gitlab:shadowed-prop into master

What does this MR do and why?

runner_token_expiration_interval attribute is already delegated to ci_cd_settings at line 488.

https://gitlab.com/gitlab-org/gitlab/-/blob/e0d412bc7a0fff2e52702887462a405fdee043c5/app/models/project.rb#L488

Found in !101841 (closed). Moving to a separate MR to troubleshoot pipeline failures.

How to set up and validate locally

  1. In rails console
    Project.last.runner_token_expiration_interval

MR acceptance checklist

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

Merge request reports