* Update client.go
fix missing "httpClientProvider" in NewClient
* Update client.go
(cherry picked from commit 530072fce7)
Co-authored-by: wangjian <wj0360@foxmail.com>
This commit is contained in:
co-authored by
wangjian
parent
bac7b5ad6d
commit
ea1dae55e8
@@ -99,12 +99,13 @@ var NewClient = func(ctx context.Context, httpClientProvider httpclient.Provider
|
||||
clientLog.Info("Creating new client", "version", version.String(), "timeField", timeField, "indices", strings.Join(indices, ", "))
|
||||
|
||||
return &baseClientImpl{
|
||||
ctx: ctx,
|
||||
ds: ds,
|
||||
version: version,
|
||||
timeField: timeField,
|
||||
indices: indices,
|
||||
timeRange: timeRange,
|
||||
ctx: ctx,
|
||||
httpClientProvider: httpClientProvider,
|
||||
ds: ds,
|
||||
version: version,
|
||||
timeField: timeField,
|
||||
indices: indices,
|
||||
timeRange: timeRange,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user