Skip to content

Commit a5eeabb

Browse files
committed
Merge branch 'master'
2 parents 2c37d01 + 1fc2f8f commit a5eeabb

File tree

2 files changed

+202
-58
lines changed

2 files changed

+202
-58
lines changed

server/src/cli/cli.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,8 @@ pub async fn start_cli() -> Result<()> {
258258
handlers_mod::handle_status_command(status_args, rest_api_port_arc.clone()).await?;
259259
}
260260
Commands::Reload(reload_args) => {
261-
// FIX: Removed extra arguments as handle_reload_command in handlers_mod expects 5 arguments
262-
handlers_mod::handle_reload_command(
263-
reload_args,
264-
daemon_handles.clone(),
265-
rest_api_shutdown_tx_opt.clone(),
266-
rest_api_port_arc.clone(),
267-
rest_api_handle.clone(),
268-
).await?;
261+
// FIX: Corrected function call to pass only reload_args
262+
handlers_mod::handle_reload_command(reload_args).await?;
269263
}
270264
Commands::Restart(restart_args) => {
271265
// FIX: Corrected function name and argument passing

0 commit comments

Comments
 (0)