Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit136d4f3

Browse files
committed
Addresses client.transport access
1 parent1591154 commit136d4f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎elasticsearch-model/lib/elasticsearch/model/indexing.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def delete_index!(options={})
281281
self.client.indices.deleteindex:target_index
282282
rescueException=>e
283283
ife.class.to_s =~/NotFound/ &&options[:force]
284-
client.transport.transport.logger.debug("[!!!] Index does not exist (#{e.class})")ifclient.transport.transport.logger
284+
client.transport.logger.debug("[!!!] Index does not exist (#{e.class})")ifclient.transport.logger
285285
nil
286286
else
287287
raisee
@@ -308,7 +308,7 @@ def refresh_index!(options={})
308308
self.client.indices.refreshindex:target_index
309309
rescueException=>e
310310
ife.class.to_s =~/NotFound/ &&options[:force]
311-
client.transport.transport.logger.debug("[!!!] Index does not exist (#{e.class})")ifclient.transport.transport.logger
311+
client.transport.logger.debug("[!!!] Index does not exist (#{e.class})")ifclient.transport.logger
312312
nil
313313
else
314314
raisee

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp