diff --git a/src/server/actors/repo.rs b/src/server/actors/repo.rs index abc9732..6d8d7d6 100644 --- a/src/server/actors/repo.rs +++ b/src/server/actors/repo.rs @@ -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; @@ -17,7 +17,7 @@ impl Handler 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 ); } } diff --git a/src/server/mod.rs b/src/server/mod.rs index db104a4..ef4e208 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -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(),