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
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:
parent
4b64aa5a14
commit
b66b70c08b
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ use tracing::info;
|
||||||
use crate::server::config::RepoDetails;
|
use crate::server::config::RepoDetails;
|
||||||
|
|
||||||
pub struct RepoActor {
|
pub struct RepoActor {
|
||||||
pub defailt: RepoDetails,
|
pub details: RepoDetails,
|
||||||
}
|
}
|
||||||
impl Actor for RepoActor {
|
impl Actor for RepoActor {
|
||||||
type Context = Context<Self>;
|
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 {
|
fn handle(&mut self, _msg: StartRepo, _ctx: &mut Self::Context) -> Self::Result {
|
||||||
info!(
|
info!(
|
||||||
"Starting Repo: {} - {}",
|
"Starting Repo: {} - {}",
|
||||||
self.defailt.name.0, self.defailt.path.0
|
self.details.name.0, self.details.path.0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ pub fn start(fs: FileSystem) {
|
||||||
let _guard = span.enter();
|
let _guard = span.enter();
|
||||||
info!("Repo: {} - {}", repo_name, path);
|
info!("Repo: {} - {}", repo_name, path);
|
||||||
let actor = actors::repo::RepoActor {
|
let actor = actors::repo::RepoActor {
|
||||||
defailt: config::RepoDetails {
|
details: config::RepoDetails {
|
||||||
name: repo_name.clone(),
|
name: repo_name.clone(),
|
||||||
path: config::RepoPath(path.clone()),
|
path: config::RepoPath(path.clone()),
|
||||||
forge: (&forge_name, forge).into(),
|
forge: (&forge_name, forge).into(),
|
||||||
|
|
Loading…
Reference in a new issue