From e60405d4c465a04e73d9f095db4ad4e7694f0a1c Mon Sep 17 00:00:00 2001
From: Vijay Hawoldar <vhawoldar@gitlab.com>
Date: Wed, 5 Jul 2023 08:25:44 +0100
Subject: [PATCH] Fix Rubocop violation in storage helper

Addresses line length rubocop violation in the storage helper
---
 .rubocop_todo/layout/line_length.yml | 1 -
 app/helpers/storage_helper.rb        | 6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.rubocop_todo/layout/line_length.yml b/.rubocop_todo/layout/line_length.yml
index ed2245f39e0c..47127e6459fa 100644
--- a/.rubocop_todo/layout/line_length.yml
+++ b/.rubocop_todo/layout/line_length.yml
@@ -256,7 +256,6 @@ Layout/LineLength:
     - 'app/helpers/sorting_helper.rb'
     - 'app/helpers/ssh_keys_helper.rb'
     - 'app/helpers/startupjs_helper.rb'
-    - 'app/helpers/storage_helper.rb'
     - 'app/helpers/submodule_helper.rb'
     - 'app/helpers/tags_helper.rb'
     - 'app/helpers/timeboxes_helper.rb'
diff --git a/app/helpers/storage_helper.rb b/app/helpers/storage_helper.rb
index a60143db739d..669d13c14c28 100644
--- a/app/helpers/storage_helper.rb
+++ b/app/helpers/storage_helper.rb
@@ -21,6 +21,10 @@ def storage_counters_details(statistics)
       counter_uploads: storage_counter(statistics.uploads_size)
     }
 
-    _("Repository: %{counter_repositories} / Wikis: %{counter_wikis} / Build Artifacts: %{counter_build_artifacts} / Pipeline Artifacts: %{counter_pipeline_artifacts} / LFS: %{counter_lfs_objects} / Snippets: %{counter_snippets} / Packages: %{counter_packages} / Uploads: %{counter_uploads}") % counters
+    _(
+      "Repository: %{counter_repositories} / Wikis: %{counter_wikis} / Build Artifacts: %{counter_build_artifacts} / " \
+      "Pipeline Artifacts: %{counter_pipeline_artifacts} / LFS: %{counter_lfs_objects} / " \
+      "Snippets: %{counter_snippets} / Packages: %{counter_packages} / Uploads: %{counter_uploads}"
+    ) % counters
   end
 end
-- 
GitLab