mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:53:10 +08:00
Elasticsearch: Remove xpack button and make includeFrozen not dependant on it (#84734)
This commit is contained in:
@ -157,11 +157,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
|
||||
includeFrozen = false
|
||||
}
|
||||
|
||||
xpack, ok := jsonData["xpack"].(bool)
|
||||
if !ok {
|
||||
xpack = false
|
||||
}
|
||||
|
||||
configuredFields := es.ConfiguredFields{
|
||||
TimeField: timeField,
|
||||
LogLevelField: logLevelField,
|
||||
@ -177,7 +172,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
|
||||
ConfiguredFields: configuredFields,
|
||||
Interval: interval,
|
||||
IncludeFrozen: includeFrozen,
|
||||
XPack: xpack,
|
||||
}
|
||||
return model, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user