mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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, ", "))
|
clientLog.Info("Creating new client", "version", version.String(), "timeField", timeField, "indices", strings.Join(indices, ", "))
|
||||||
|
|
||||||
return &baseClientImpl{
|
return &baseClientImpl{
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
ds: ds,
|
httpClientProvider: httpClientProvider,
|
||||||
version: version,
|
ds: ds,
|
||||||
timeField: timeField,
|
version: version,
|
||||||
indices: indices,
|
timeField: timeField,
|
||||||
timeRange: timeRange,
|
indices: indices,
|
||||||
|
timeRange: timeRange,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user