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 = {})
105
105
# @example
106
106
# repository.client
107
107
#
108
- # @return [ Elasticsearch::Transport:: Client ] The repository's client.
108
+ # @return [ Elasticsearch::Client ] The repository's client.
109
109
#
110
110
# @since 6.0.0
111
111
def client
112
112
@client ||= @options [ :client ] ||
113
113
__get_class_value ( :client ) ||
114
- Elasticsearch ::Transport :: Client . new
114
+ Elasticsearch ::Client . new
115
115
end
116
116
117
117
# 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)
63
63
#
64
64
# @since 6.0.0
65
65
def client ( _client = nil )
66
- @client ||= ( _client || Elasticsearch ::Transport :: Client . new )
66
+ @client ||= ( _client || Elasticsearch ::Client . new )
67
67
end
68
68
69
69
def create_index! ( *args )
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class RepositoryWithoutDSL
106
106
context 'when options are provided' do
107
107
108
108
let ( :client ) do
109
- Elasticsearch ::Transport :: Client . new
109
+ Elasticsearch ::Client . new
110
110
end
111
111
112
112
let ( :repository ) do
You can’t perform that action at this time.
0 commit comments