mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
node: Respond to announce-refs control
This commit is contained in:
@@ -181,6 +181,7 @@ fn drain<H: Handle<Error = client::handle::Error>>(
|
||||
if let Err(e) = handle.announce_refs(id) {
|
||||
return Err(DrainError::Client(e));
|
||||
}
|
||||
writeln!(writer, "{}", node::RESPONSE_OK)?;
|
||||
} else {
|
||||
return Err(DrainError::InvalidCommandArg(arg.to_owned()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user