Elasticsearch: fix NewClient not passing httpClientProvider to client impl (#34539)

* Update client.go

fix missing "httpClientProvider" in NewClient

* Update client.go
This commit is contained in:
wangjian 2021-05-24 21:45:29 +08:00 committed by GitHub
parent 395d7eb74c
commit 530072fce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ var NewClient = func(ctx context.Context, httpClientProvider httpclient.Provider
return &baseClientImpl{
ctx: ctx,
httpClientProvider: httpClientProvider,
ds: ds,
version: version,
timeField: timeField,