File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
elasticsearch-model/lib/elasticsearch/model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ def delete_index!(options={})
281281 self . client . indices . delete index : target_index
282282 rescue Exception => e
283283 if e . class . to_s =~ /NotFound/ && options [ :force ]
284- client . transport . transport . logger . debug ( "[!!!] Index does not exist (#{ e . class } )" ) if client . transport . transport . logger
284+ client . transport . logger . debug ( "[!!!] Index does not exist (#{ e . class } )" ) if client . transport . logger
285285 nil
286286 else
287287 raise e
@@ -308,7 +308,7 @@ def refresh_index!(options={})
308308 self . client . indices . refresh index : target_index
309309 rescue Exception => e
310310 if e . class . to_s =~ /NotFound/ && options [ :force ]
311- client . transport . transport . logger . debug ( "[!!!] Index does not exist (#{ e . class } )" ) if client . transport . transport . logger
311+ client . transport . logger . debug ( "[!!!] Index does not exist (#{ e . class } )" ) if client . transport . logger
312312 nil
313313 else
314314 raise e
You can’t perform that action at this time.
0 commit comments