Commit 7d797b10 authored by Rémy Coutable's avatar Rémy Coutable

Fix a typo in lib/gitlab/search/found_blob.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 8775e4a1
......@@ -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.
......
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