mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: Remove unsupported datasource warning for cloudwatch (#79403)
This commit is contained in:
@@ -13,9 +13,8 @@ import (
|
||||
var grafanaDatasources = []string{expr.DatasourceType, "datasource"}
|
||||
|
||||
// there are some datasources that have backend flag as true but don't call /ds/query endpoint
|
||||
var unsupportedDataSourcesMap = map[string]bool{
|
||||
"cloudwatch": true,
|
||||
}
|
||||
// through DataSourceWithBackend class
|
||||
var unsupportedDataSourcesMap = map[string]bool{}
|
||||
|
||||
type listPluginResponse struct {
|
||||
Items []struct {
|
||||
|
||||
@@ -26,7 +26,7 @@ func main() {
|
||||
tsTemplate := template.Must(template.New("").Parse(tsDatasourcesTemplate))
|
||||
|
||||
// Generate supported datasources for Typescript
|
||||
tsFile, err := os.Create("./../../../public/app/features/dashboard/components/ShareModal/SharePublicDashboard/SupportedPubdashDatasources.ts")
|
||||
tsFile, err := os.Create("./../../../../../public/app/features/dashboard/components/ShareModal/SharePublicDashboard/SupportedPubdashDatasources.ts")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user