Skip to content
Snippets Groups Projects
Commit 7d76128d authored by Takuya Noguchi's avatar Takuya Noguchi
Browse files

Fix typo in code comments about Elasticsearch

parent ae68c7ea
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
---
title: Fix typo in code comments about Elasticsearch
merge_request: 30163
author: Takuya Noguchi
type: other
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment