fix(server): fix typo
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful

This commit is contained in:
Paul Campbell 2024-04-07 20:56:20 +01:00
parent 4b64aa5a14
commit b66b70c08b
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ use tracing::info;
use crate::server::config::RepoDetails;
pub struct RepoActor {
pub defailt: RepoDetails,
pub details: RepoDetails,
}
impl Actor for RepoActor {
type Context = Context<Self>;
@ -17,7 +17,7 @@ impl Handler<StartRepo> for RepoActor {
fn handle(&mut self, _msg: StartRepo, _ctx: &mut Self::Context) -> Self::Result {
info!(
"Starting Repo: {} - {}",
self.defailt.name.0, self.defailt.path.0
self.details.name.0, self.details.path.0
);
}
}

View file

@ -60,7 +60,7 @@ pub fn start(fs: FileSystem) {
let _guard = span.enter();
info!("Repo: {} - {}", repo_name, path);
let actor = actors::repo::RepoActor {
defailt: config::RepoDetails {
details: config::RepoDetails {
name: repo_name.clone(),
path: config::RepoPath(path.clone()),
forge: (&forge_name, forge).into(),