mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixes strange gofmt formatting
VS code refuses to format this correctly unless the zabbix ds is last in the list.
This commit is contained in:
parent
fa6e31c6d5
commit
6f5fbf7a43
@ -60,24 +60,23 @@ type DataSource struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var knownDatasourcePlugins = map[string]bool{
|
var knownDatasourcePlugins = map[string]bool{
|
||||||
DS_ES: true,
|
DS_ES: true,
|
||||||
DS_GRAPHITE: true,
|
DS_GRAPHITE: true,
|
||||||
DS_INFLUXDB: true,
|
DS_INFLUXDB: true,
|
||||||
DS_INFLUXDB_08: true,
|
DS_INFLUXDB_08: true,
|
||||||
DS_KAIROSDB: true,
|
DS_KAIROSDB: true,
|
||||||
DS_CLOUDWATCH: true,
|
DS_CLOUDWATCH: true,
|
||||||
DS_PROMETHEUS: true,
|
DS_PROMETHEUS: true,
|
||||||
DS_OPENTSDB: true,
|
DS_OPENTSDB: true,
|
||||||
DS_POSTGRES: true,
|
DS_POSTGRES: true,
|
||||||
DS_MYSQL: true,
|
DS_MYSQL: true,
|
||||||
DS_MSSQL: true,
|
DS_MSSQL: true,
|
||||||
DS_STACKDRIVER: true,
|
DS_STACKDRIVER: true,
|
||||||
"opennms": true,
|
"opennms": true,
|
||||||
"abhisant-druid-datasource": true,
|
"abhisant-druid-datasource": true,
|
||||||
"dalmatinerdb-datasource": true,
|
"dalmatinerdb-datasource": true,
|
||||||
"gnocci": true,
|
"gnocci": true,
|
||||||
"zabbix": true,
|
"zabbix": true,
|
||||||
"alexanderzobnin-zabbix-datasource": true,
|
|
||||||
"newrelic-app": true,
|
"newrelic-app": true,
|
||||||
"grafana-datadog-datasource": true,
|
"grafana-datadog-datasource": true,
|
||||||
"grafana-simple-json": true,
|
"grafana-simple-json": true,
|
||||||
@ -90,6 +89,7 @@ var knownDatasourcePlugins = map[string]bool{
|
|||||||
"ayoungprogrammer-finance-datasource": true,
|
"ayoungprogrammer-finance-datasource": true,
|
||||||
"monasca-datasource": true,
|
"monasca-datasource": true,
|
||||||
"vertamedia-clickhouse-datasource": true,
|
"vertamedia-clickhouse-datasource": true,
|
||||||
|
"alexanderzobnin-zabbix-datasource": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func IsKnownDataSourcePlugin(dsType string) bool {
|
func IsKnownDataSourcePlugin(dsType string) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user