fix: cope with heartwood's Id->RepoId rename

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-23 17:35:46 +02:00
parent 49f6711e22
commit 3a7c8b668d
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ use std::path::PathBuf;
use uuid::Uuid;
use radicle::prelude::Profile;
use radicle_ci_broker::msg::{Id, Oid, Request, RunId, RunResult};
use radicle_ci_broker::msg::{Oid, RepoId, Request, RunId, RunResult};
use crate::{
config::{Config, ConfigError},
@@ -140,7 +140,7 @@ impl Engine {
// Execute the CI run. Log any problems to a log for this run, and
// persist that. Update the run info builder as needed.
fn run_helper(&mut self, rid: Id, commit: Oid) -> Result<bool, EngineError> {
fn run_helper(&mut self, rid: RepoId, commit: Oid) -> Result<bool, EngineError> {
// Pick a run id and create a directory for files related to
// the run.
let (run_id, run_dir) = mkdir_run(&self.config)?;