Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-01 16:38:24 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-01 16:38:24 +0300
commit0396082c12f518f48e136968dbf0b4e5f774641c (patch)
tree9ee22b3f2d65483c316d30397b7e065d4dec5fec /lib
parentcb7e80d1211dae947e40290a834cbe29ee36364e (diff)
Add latest changes from gitlab-org/gitlab@15-2-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/api/helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index e462ca19ba6..fdb0fbf820d 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -574,12 +574,12 @@ module API
end
end
- def log_artifact_size(file)
+ def log_artifact_file_size(file)
Gitlab::ApplicationContext.push(artifact: file.model)
end
def present_artifacts_file!(file, **args)
- log_artifact_size(file) if file
+ log_artifact_file_size(file) if file
present_carrierwave_file!(file, **args)
end