implement a local sync server

This commit is contained in:
Dustin J. Mitchell
2020-11-25 19:13:32 -05:00
parent 8f7e2e2790
commit 3537db9bbe
9 changed files with 249 additions and 72 deletions

View File

@@ -22,7 +22,7 @@ define_subcommand! {
subcommand_invocation! {
fn run(&self, command: &CommandInvocation) -> Fallible<()> {
let mut replica = command.get_replica();
let mut server = command.get_server();
let mut server = command.get_server()?;
replica.sync(&mut server)?;
Ok(())
}