Fix a typo in lib/gitlab/search/found_blob.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
8775e4a1fa
commit
7d797b104f
1 changed files with 1 additions and 1 deletions
|
@ -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 (e.g. Elasticsearch) does not have project object,
|
||||
# Some callers (e.g. Elasticsearch) do not have the 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