Skip to content

Refactor forks_size_reduction in Namespaces::Storage::RootSize

Jason Goodman requested to merge refactor-forks-size-reduction into master

What does this MR do and why?

Refactor forks_size_reduction in Namespaces::Storage::RootSize

Remove ternary operator to make forks size calculation more readable

This is a follow up from here: !122245 (comment 1420812722)

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/399371

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 Jason Goodman

Merge request reports

Loading