mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tsdb/elasticsearch: remove TimeInterval field from tsdb/elasticsearch client (#78264)
remove TimeInterval field from tsdb/elasticsearch client #78187 Co-authored-by: Sam <samucap@users.noreply.github.com>
This commit is contained in:
@@ -120,11 +120,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
|
||||
interval = ""
|
||||
}
|
||||
|
||||
timeInterval, ok := jsonData["timeInterval"].(string)
|
||||
if !ok {
|
||||
timeInterval = ""
|
||||
}
|
||||
|
||||
index, ok := jsonData["index"].(string)
|
||||
if !ok {
|
||||
index = ""
|
||||
@@ -171,7 +166,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
|
||||
MaxConcurrentShardRequests: int64(maxConcurrentShardRequests),
|
||||
ConfiguredFields: configuredFields,
|
||||
Interval: interval,
|
||||
TimeInterval: timeInterval,
|
||||
IncludeFrozen: includeFrozen,
|
||||
XPack: xpack,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user