summaryrefslogtreecommitdiff
path: root/lib/api/commit_statuses.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-13 09:51:03 +0000
committerRémy Coutable <remy@rymai.me>2016-07-13 09:51:03 +0000
commitfb229bbf7970ba908962b837b270adf56f14098f (patch)
tree8bcc20e1f98cf85da57195866887a2cf6b7f7f69 /lib/api/commit_statuses.rb
parentecd301ddf618488a2b54827b44f9017f89b3d27d (diff)
parentcc752f241ccef3b13486544f03ae716de00cc363 (diff)
downloadgitlab-ce-fb229bbf7970ba908962b837b270adf56f14098f.tar.gz
Merge branch '19766-dont-crash-when-no-objects-to-cache' into 'master'
ObjectRenderer doesn't crash when no objects to cache with Rails.cache.read_multi ## What does this MR do? Avoid calls to Rails.cache.read_multi without cache keys so it doesn't raise an exception ## What are the relevant issue numbers? Closes #19766 ## Does this MR meet the acceptance criteria? - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added. I considered is not needed is a fix over a RC - ~~[ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - ~~[ ] API support added~~ - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5229
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions