Explorar o 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 %!s(int64=4) %!d(string=hai) anos
pai
achega
5d71e51985
Modificáronse 1 ficheiros con 2 adicións e 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
 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() {
     command="$1"