Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7d76128d
Commit
7d76128d
authored
Jun 28, 2019
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in code comments about Elasticsearch
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
ae68c7ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/models/note.rb
app/models/note.rb
+1
-1
changelogs/unreleased/small-s-in-elasticsearch-in-code.yml
changelogs/unreleased/small-s-in-elasticsearch-in-code.yml
+5
-0
lib/gitlab/search/found_blob.rb
lib/gitlab/search/found_blob.rb
+1
-1
No files found.
app/models/note.rb
View file @
7d76128d
...
...
@@ -452,7 +452,7 @@ class Note < ApplicationRecord
noteable_object
&
.
touch
# We return the noteable object so we can re-use it in EE for Elastic
S
earch.
# We return the noteable object so we can re-use it in EE for Elastic
s
earch.
noteable_object
end
...
...
changelogs/unreleased/small-s-in-elasticsearch-in-code.yml
0 → 100644
View file @
7d76128d
---
title
:
Fix typo in code comments about Elasticsearch
merge_request
:
30163
author
:
Takuya Noguchi
type
:
other
lib/gitlab/search/found_blob.rb
View file @
7d76128d
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment