node: Respond to `announce-refs` control
This commit is contained in:
parent
d324eab377
commit
c888f40660
|
|
@ -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()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue