refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo
This commit is contained in:
parent
f038ab508b
commit
efc0dfdb6f
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@ impl Handler<actor::messages::CloneRepo> 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");
|
||||
|
|
Loading…
Reference in a new issue