Commit 7d76128d authored by Takuya Noguchi's avatar Takuya Noguchi

Fix typo in code comments about Elasticsearch

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent ae68c7ea
...@@ -452,7 +452,7 @@ class Note < ApplicationRecord ...@@ -452,7 +452,7 @@ class Note < ApplicationRecord
noteable_object&.touch 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 noteable_object
end end
......
---
title: Fix typo in code comments about Elasticsearch
merge_request: 30163
author: Takuya Noguchi
type: other
...@@ -28,7 +28,7 @@ module Gitlab ...@@ -28,7 +28,7 @@ module Gitlab
@binary_data = opts.fetch(:data, nil) @binary_data = opts.fetch(:data, nil)
@per_page = opts.fetch(:per_page, 20) @per_page = opts.fetch(:per_page, 20)
@project = opts.fetch(:project, nil) @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, # yet they can trigger many calls in one go,
# causing duplicated queries. # causing duplicated queries.
# Allow those to just pass project_id instead. # Allow those to just pass project_id instead.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment