node: Respond to announce-refs control

This commit is contained in:
Alexis Sellier
2023-01-25 10:21:57 +01:00
parent d324eab377
commit c888f40660
+1
View File
@@ -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()));
}