summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/entry/cache.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-03-03 22:21:46 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-03-03 22:21:46 +0800
commit0fe0b044e49729147461624fcc5e469618e34936 (patch)
tree4157d79afb9e97f0d50171b80ac8418022a3e13a /lib/gitlab/ci/config/entry/cache.rb
parentcce1792cb72150ef74ef6affca3029d280468ea4 (diff)
downloadgitlab-ce-0fe0b044e49729147461624fcc5e469618e34936.tar.gz
No need to set cache:key if no path was specified
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9666/diffs#note_24607518
Diffstat (limited to 'lib/gitlab/ci/config/entry/cache.rb')
-rw-r--r--lib/gitlab/ci/config/entry/cache.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/ci/config/entry/cache.rb b/lib/gitlab/ci/config/entry/cache.rb
index 4378768d0de..f074df9c7a1 100644
--- a/lib/gitlab/ci/config/entry/cache.rb
+++ b/lib/gitlab/ci/config/entry/cache.rb
@@ -25,10 +25,6 @@ module Gitlab
helpers :key
- def self.default
- { key: Entry::Key.default }
- end
-
def value
super.merge(key: key_value)
end