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
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-13 23:17:28 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 14:48:17 +0300
commit6b0a43aff36f0bbb9050b3c04155a3ccd9c1a75b (patch)
treefbe82328b917aacf19f2da12e77a6d4489f0a51a /app/models/ci/build.rb
parent154b8ceba4ac2d92a2387ad50d7f2b4ed5b2dd8a (diff)
Improve readability of artifacts browser `Entry` related code
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r--app/models/ci/build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index fef667f865e..6cc26abce66 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -347,8 +347,8 @@ module Ci
artifacts? && artifacts_metadata.exists?
end
- def artifacts_metadata_path(path)
- Gitlab::Ci::Build::Artifacts::Metadata.new(artifacts_metadata.path, path).to_path
+ def artifacts_metadata_entry(path)
+ Gitlab::Ci::Build::Artifacts::Metadata.new(artifacts_metadata.path, path).to_entry
end
private