WIP: refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo
This commit is contained in:
parent
f038ab508b
commit
1890e56723
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() {
|
if self.repo_details.repo_config.is_none() {
|
||||||
tracing::debug!("Handler: CloneRepo: Sending: LoadConfigFromRepo");
|
tracing::debug!("Handler: CloneRepo: Sending: LoadConfigFromRepo");
|
||||||
actor::logger(&self.log, "send: 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 {
|
} else {
|
||||||
tracing::debug!("Handler: CloneRepo: Sending: ValidateRepo");
|
tracing::debug!("Handler: CloneRepo: Sending: ValidateRepo");
|
||||||
actor::logger(&self.log, "send: ValidateRepo");
|
actor::logger(&self.log, "send: ValidateRepo");
|
||||||
|
|
Loading…
Reference in a new issue