From d6dc650a3e1103d6243d95b57100b20fe04874d7 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Fri, 11 Oct 2024 14:35:10 +0800 Subject: [PATCH] fix(meta): rename `--license-key-file` to `--license-key-path` (#18838) Signed-off-by: Bugen Zhao --- src/cmd_all/src/standalone.rs | 2 +- src/meta/node/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd_all/src/standalone.rs b/src/cmd_all/src/standalone.rs index 6946930a8b70a..d68da890b1632 100644 --- a/src/cmd_all/src/standalone.rs +++ b/src/cmd_all/src/standalone.rs @@ -468,7 +468,7 @@ mod test { dangerous_max_idle_secs: None, connector_rpc_endpoint: None, license_key: None, - license_key_file: None, + license_key_path: None, temp_secret_file_dir: "./meta/secrets/", }, ), diff --git a/src/meta/node/src/lib.rs b/src/meta/node/src/lib.rs index 633093b2c7024..592ba662e1948 100644 --- a/src/meta/node/src/lib.rs +++ b/src/meta/node/src/lib.rs @@ -195,7 +195,7 @@ pub struct MetaNodeOpts { /// The path of the license key file to be watched and hot-reloaded. #[clap(long, env = "RW_LICENSE_KEY_PATH")] - pub license_key_file: Option, + pub license_key_path: Option, /// 128-bit AES key for secret store in HEX format. #[educe(Debug(ignore))] // TODO: use newtype to redact debug impl @@ -471,7 +471,7 @@ pub fn start( .meta .developer .actor_cnt_per_worker_parallelism_soft_limit, - license_key_path: opts.license_key_file, + license_key_path: opts.license_key_path, }, config.system.into_init_system_params(), Default::default(),