File tree Expand file tree Collapse file tree 2 files changed +202
-58
lines changed
Expand file tree Collapse file tree 2 files changed +202
-58
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments