mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
node: Handle fetched differently if initiated
This commit is contained in:
@@ -621,6 +621,7 @@ impl<S: WriteStorage + 'static, G: Signer> Simulation<S, G> {
|
||||
remote: fetch.remote,
|
||||
input: Input::Fetched(Arc::new(FetchResult {
|
||||
rid: fetch.repo,
|
||||
initiated: fetch.initiated,
|
||||
remote: fetch.remote,
|
||||
namespaces: fetch.namespaces,
|
||||
result: Err(FetchError::Io(io::ErrorKind::Other.into())),
|
||||
@@ -635,6 +636,7 @@ impl<S: WriteStorage + 'static, G: Signer> Simulation<S, G> {
|
||||
remote: fetch.remote,
|
||||
input: Input::Fetched(Arc::new(FetchResult {
|
||||
rid: fetch.repo,
|
||||
initiated: fetch.initiated,
|
||||
remote: fetch.remote,
|
||||
namespaces: fetch.namespaces,
|
||||
result: Ok(vec![]),
|
||||
|
||||
Reference in New Issue
Block a user