Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
CodePrometheus committed Jan 15, 2025
1 parent 9f86238 commit 8f4208a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/scenarios/elasticsearch/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def delete_document(client, id)
end

get "/execute" do
client = Elasticsearch::Client.new(hosts: ['http://elasticsearch:9200'], log: true, transport_options: { request: { timeout: 5 } })
client = Elasticsearch::Client.new(hosts: ['http://elasticsearch:9200'], log: true,
transport_options: { request: { timeout: 5 } })
create_index(client)
add_document(client, '1', 'Document 1')
get_document(client, '1')
Expand Down

0 comments on commit 8f4208a

Please sign in to comment.