Commit 2523b7b9 authored by Valery Sizov's avatar Valery Sizov

Fix rubocop

parent 505acb5e
......@@ -4,7 +4,7 @@ module Elasticsearch
# The built-in action https://github.com/elastic/elasticsearch-ruby/blob/master/elasticsearch-api/lib/elasticsearch/api/actions/delete_by_query.rb
# does not work with Elasticsearch 5.0 yet. There is an issue for that https://github.com/elastic/elasticsearch-ruby/issues/387
# but until it's not fixed we can use our own action for that
def gitlab_delete_by_query(arguments={})
def gitlab_delete_by_query(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
valid_params = [
......
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