mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
K8s: Prevent registration of frontend datasources (#93635)
This commit is contained in:
parent
4e93e2c7f1
commit
3221f493f9
@ -79,6 +79,10 @@ func RegisterAPIService(
|
|||||||
continue // skip this one
|
continue // skip this one
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !ds.JSONData.Backend {
|
||||||
|
continue // skip frontend only plugins
|
||||||
|
}
|
||||||
|
|
||||||
builder, err = NewDataSourceAPIBuilder(ds.JSONData,
|
builder, err = NewDataSourceAPIBuilder(ds.JSONData,
|
||||||
pluginClient,
|
pluginClient,
|
||||||
datasources.GetDatasourceProvider(ds.JSONData),
|
datasources.GetDatasourceProvider(ds.JSONData),
|
||||||
|
Loading…
Reference in New Issue
Block a user