mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 19:52:33 -06:00
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:
parent
395d7eb74c
commit
530072fce7
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user