Skip to content

Commit

Permalink
fix(meta): rename --license-key-file to --license-key-path (#18838)
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao authored Oct 11, 2024
1 parent 7cd2ab0 commit d6dc650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd_all/src/standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
},
),
Expand Down
4 changes: 2 additions & 2 deletions src/meta/node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf>,
pub license_key_path: Option<PathBuf>,

/// 128-bit AES key for secret store in HEX format.
#[educe(Debug(ignore))] // TODO: use newtype to redact debug impl
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit d6dc650

Please sign in to comment.