Merge branch 'small-s-in-elasticsearch-in-code' into 'master'
Fix typo in code comments about Elasticsearch See merge request gitlab-org/gitlab-ce!30163
This commit is contained in:
commit
7b27e067ca
3 changed files with 7 additions and 2 deletions
|
@ -452,7 +452,7 @@ class Note < ApplicationRecord
|
|||
|
||||
noteable_object&.touch
|
||||
|
||||
# We return the noteable object so we can re-use it in EE for ElasticSearch.
|
||||
# We return the noteable object so we can re-use it in EE for Elasticsearch.
|
||||
noteable_object
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix typo in code comments about Elasticsearch
|
||||
merge_request: 30163
|
||||
author: Takuya Noguchi
|
||||
type: other
|
|
@ -28,7 +28,7 @@ module Gitlab
|
|||
@binary_data = opts.fetch(:data, nil)
|
||||
@per_page = opts.fetch(:per_page, 20)
|
||||
@project = opts.fetch(:project, nil)
|
||||
# Some caller does not have project object (e.g. elastic search),
|
||||
# Some caller (e.g. Elasticsearch) does not have project object,
|
||||
# yet they can trigger many calls in one go,
|
||||
# causing duplicated queries.
|
||||
# Allow those to just pass project_id instead.
|
||||
|
|
Loading…
Reference in a new issue