Compare commits

..

2 commits

Author SHA1 Message Date
efc0dfdb6f refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Failing after 1m44s
2024-06-29 20:04:26 +01:00
f038ab508b chore: fix name in config file
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Successful in 1m21s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
2024-06-29 20:03:25 +01:00
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# ./cargo/config # ./cargo/config.toml
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang-16" linker = "/usr/bin/clang-16"
rustflags = [ rustflags = [

View file

@ -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");