Explorar el Código

fix(config): Do not allow customizing cuttlefish env override prefix

We have quite a few EMQX_ prefixed variables used in bash scripts
having to meta-programming bash is not quite readable
Zaiming Shi hace 5 años
padre
commit
5d71e51985
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      bin/emqx

+ 2 - 2
bin/emqx

@@ -20,8 +20,8 @@ mkdir -p "$RUNNER_LOG_DIR"
 # Make sure data directory exists
 # Make sure data directory exists
 mkdir -p "$RUNNER_DATA_DIR"
 mkdir -p "$RUNNER_DATA_DIR"
 
 
-# cuttlefish try to read environment variables starting with "EMQX_", if not specified
-export CUTTLEFISH_ENV_OVERRIDE_PREFIX="${CUTTLEFISH_ENV_OVERRIDE_PREFIX:-EMQX_}"
+# cuttlefish try to read environment variables starting with "EMQX_"
+export CUTTLEFISH_ENV_OVERRIDE_PREFIX='EMQX_'
 
 
 relx_usage() {
 relx_usage() {
     command="$1"
     command="$1"