Commit 9f38e22d authored by Stan Hu's avatar Stan Hu

Merge branch 'docs-fix-typo-in-docs' into 'master'

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

See merge request gitlab-org/gitlab-ce!30219
parents 402255c2 7d797b10
...@@ -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 (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, # 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