From 1890e5672329b6eaaeddaa13e19fcfe135bb7c52 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 29 Jun 2024 20:04:26 +0100 Subject: [PATCH] WIP: refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo --- crates/repo-actor/src/handlers/clone_repo.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/repo-actor/src/handlers/clone_repo.rs b/crates/repo-actor/src/handlers/clone_repo.rs index f474517..020f9f8 100644 --- a/crates/repo-actor/src/handlers/clone_repo.rs +++ b/crates/repo-actor/src/handlers/clone_repo.rs @@ -22,7 +22,11 @@ impl Handler for actor::RepoActor { if self.repo_details.repo_config.is_none() { tracing::debug!("Handler: CloneRepo: Sending: LoadConfigFromRepo"); actor::logger(&self.log, "send: LoadConfigFromRepo"); - ctx.address().do_send(actor::messages::LoadConfigFromRepo); + actor::do_send( + ctx.address(), + actor::messages::LoadConfigFromRepo, + &self.log, + ); } else { tracing::debug!("Handler: CloneRepo: Sending: ValidateRepo"); actor::logger(&self.log, "send: ValidateRepo");