AWS: add OpenSearch to AWS services (#40290) (#40297)

(cherry picked from commit 24af3593a2)
This commit is contained in:
Giordano Ricci
2021-10-11 16:30:08 +01:00
committed by GitHub
parent 16ebe8999e
commit fa4eec8e1d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ const (
DS_ACCESS_DIRECT = "direct"
DS_ACCESS_PROXY = "proxy"
DS_ES_OPEN_DISTRO = "grafana-es-open-distro-datasource"
DS_ES_OPENSEARCH = "grafana-opensearch-datasource"
)
var (
+1 -1
View File
@@ -282,7 +282,7 @@ func ClearDSDecryptionCache() {
func awsServiceNamespace(dsType string) string {
switch dsType {
case DS_ES, DS_ES_OPEN_DISTRO:
case DS_ES, DS_ES_OPEN_DISTRO, DS_ES_OPENSEARCH:
return "es"
case DS_PROMETHEUS:
return "aps"