From a380cfd6e50bebfb4d4048a4e46055e51062d175 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:38:00 -0800 Subject: [PATCH] [Fix] ValidationError when setting `maps.proxyOpenSearchMapsServiceInMaps` (#5170) (#5318) * Update index.ts args --------- Signed-off-by: ShatilKhan Signed-off-by: Miki Signed-off-by: Miki Signed-off-by: Josh Romero Co-authored-by: Miki Co-authored-by: Miki Co-authored-by: Josh Romero (cherry picked from commit 466d298d673bf3d46acecf39a04ed6501d9ac960) Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- src/plugins/maps_legacy/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/maps_legacy/server/index.ts b/src/plugins/maps_legacy/server/index.ts index f6240d8aef50..d5ea908025e9 100644 --- a/src/plugins/maps_legacy/server/index.ts +++ b/src/plugins/maps_legacy/server/index.ts @@ -52,7 +52,7 @@ export const config: PluginConfigDescriptor = { schema: configSchema, deprecations: ({ renameFromRoot }) => [ renameFromRoot('map.includeElasticMapsService', 'map.includeOpenSearchMapsService'), - renameFromRoot('map.proxyOpenSearchMapsServiceInMaps', 'map.proxyElasticMapsServiceInMaps'), + renameFromRoot('map.proxyElasticMapsServiceInMaps', 'map.proxyOpenSearchMapsServiceInMaps'), renameFromRoot( 'map.regionmap.includeElasticMapsService', 'map.regionmap.includeOpenSearchMapsService'