From 0f2570a5c9d5069b4168d8f6bc75cc3e4ed3fcf3 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Sat, 23 Dec 2023 11:28:03 +0800 Subject: [PATCH] Fix wrong environment variable name in doc (#11689) --- docs/en/setup/backend/storages/elasticsearch.md | 4 ++-- tools/profile-exporter/application.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/setup/backend/storages/elasticsearch.md b/docs/en/setup/backend/storages/elasticsearch.md index efe056297a..c4822e56bb 100644 --- a/docs/en/setup/backend/storages/elasticsearch.md +++ b/docs/en/setup/backend/storages/elasticsearch.md @@ -95,8 +95,8 @@ storage: user: ${SW_ES_USER:""} # User needs to be set when Http Basic authentication is enabled password: ${SW_ES_PASSWORD:""} # Password to be set when Http Basic authentication is enabled clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:localhost:443} - trustStorePath: ${SW_SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"} - trustStorePass: ${SW_SW_STORAGE_ES_SSL_JKS_PASS:""} + trustStorePath: ${SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"} + trustStorePass: ${SW_STORAGE_ES_SSL_JKS_PASS:""} protocol: ${SW_STORAGE_ES_HTTP_PROTOCOL:"https"} ... ``` diff --git a/tools/profile-exporter/application.yml b/tools/profile-exporter/application.yml index f03d319dd7..de6a5963ee 100644 --- a/tools/profile-exporter/application.yml +++ b/tools/profile-exporter/application.yml @@ -21,8 +21,8 @@ storage: namespace: ${SW_NAMESPACE:""} clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:localhost:9200} protocol: ${SW_STORAGE_ES_HTTP_PROTOCOL:"http"} - #trustStorePath: ${SW_SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"} - #trustStorePass: ${SW_SW_STORAGE_ES_SSL_JKS_PASS:""} + #trustStorePath: ${SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"} + #trustStorePass: ${SW_STORAGE_ES_SSL_JKS_PASS:""} user: ${SW_ES_USER:""} password: ${SW_ES_PASSWORD:""} dayStep: ${SW_STORAGE_DAY_STEP:1} # Represent the number of days in the one minute/hour/day index.