Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: JeremyHi <[email protected]>
  • Loading branch information
MichaelScofield and fengjiachun authored Nov 24, 2023
1 parent 39484a0 commit a36df7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmd/src/datanode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl StartCommand {
.context(MissingConfigSnafu { msg: "'node_id'" })?;

let meta_config = opts.meta_client.as_ref().context(MissingConfigSnafu {
msg: "'meta_client'",
msg: "'meta_client_options'",
})?;

let meta_client = datanode::heartbeat::new_metasrv_client(node_id, meta_config)
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/src/standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl StartCommand {

info!("Standalone start command: {:#?}", self);

info!("Building Standalone Instance with {opts:#?}");
info!("Building standalone instance with {opts:#?}");

// Ensure the data_home directory exists.
fs::create_dir_all(path::Path::new(&opts.data_home)).context(CreateDirSnafu {
Expand Down

0 comments on commit a36df7f

Please sign in to comment.