mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
fix(cob): announce refs in the local node namespace
This commit is contained in:
committed by
Lars Wirzenius
parent
c7666c3246
commit
884dda7794
+2
-1
@@ -276,7 +276,8 @@ fn announce(profile: &Profile, repo_id: RepoId, announce: bool) -> Result<(), Jo
|
||||
unsynced,
|
||||
))
|
||||
.map_err(|_| JobError::Announcer)?;
|
||||
node.announce(repo_id, [], TIMEOUT, announcer, |_, _| ())
|
||||
let namespace = node.nid().map_err(JobError::announce)?;
|
||||
node.announce(repo_id, [namespace], TIMEOUT, announcer, |_, _| ())
|
||||
.map_err(JobError::announce)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user