From 36c55df0cc1daa03c554a0f3f65ddd55cdf49b8e Mon Sep 17 00:00:00 2001 From: "lin.huang" Date: Mon, 13 Nov 2023 11:45:46 +0800 Subject: [PATCH] fix init-config.sh --- deployments/templates/{prometheus.yaml => prometheus.yml} | 0 scripts/init-config.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename deployments/templates/{prometheus.yaml => prometheus.yml} (100%) diff --git a/deployments/templates/prometheus.yaml b/deployments/templates/prometheus.yml similarity index 100% rename from deployments/templates/prometheus.yaml rename to deployments/templates/prometheus.yml diff --git a/scripts/init-config.sh b/scripts/init-config.sh index 091671eab..51735f832 100755 --- a/scripts/init-config.sh +++ b/scripts/init-config.sh @@ -31,7 +31,7 @@ readonly ENV_FILE=${ENV_FILE:-"${OPENIM_ROOT}/scripts/install/environment.sh"} declare -A TEMPLATES=( ["${OPENIM_ROOT}/deployments/templates/env_template.yaml"]="${OPENIM_ROOT}/.env" ["${OPENIM_ROOT}/deployments/templates/openim.yaml"]="${OPENIM_ROOT}/config/config.yaml" - ["${OPENIM_ROOT}/deployments/templates/prometheus.yaml"]="${OPENIM_ROOT}/config/prometheus.yaml" + ["${OPENIM_ROOT}/deployments/templates/prometheus.yml"]="${OPENIM_ROOT}/config/prometheus.yml" ) for template in "${!TEMPLATES[@]}"; do