File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
elasticsearch-persistence
lib/elasticsearch/persistence Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,13 @@ def initialize(options = {})
105105 # @example
106106 # repository.client
107107 #
108- # @return [ Elasticsearch::Transport:: Client ] The repository's client.
108+ # @return [ Elasticsearch::Client ] The repository's client.
109109 #
110110 # @since 6.0.0
111111 def client
112112 @client ||= @options [ :client ] ||
113113 __get_class_value ( :client ) ||
114- Elasticsearch ::Transport :: Client . new
114+ Elasticsearch ::Client . new
115115 end
116116
117117 # Get the document type used by the repository object.
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def klass(_class = nil)
6363 #
6464 # @since 6.0.0
6565 def client ( _client = nil )
66- @client ||= ( _client || Elasticsearch ::Transport :: Client . new )
66+ @client ||= ( _client || Elasticsearch ::Client . new )
6767 end
6868
6969 def create_index! ( *args )
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class RepositoryWithoutDSL
106106 context 'when options are provided' do
107107
108108 let ( :client ) do
109- Elasticsearch ::Transport :: Client . new
109+ Elasticsearch ::Client . new
110110 end
111111
112112 let ( :repository ) do
You can’t perform that action at this time.
0 commit comments