Factor replica and sync configuration into simple owned structs
This commit is contained in:
@@ -30,7 +30,7 @@ define_subcommand! {
|
||||
|
||||
subcommand_invocation! {
|
||||
fn run(&self, command: &CommandInvocation) -> Fallible<()> {
|
||||
let mut replica = command.get_replica();
|
||||
let mut replica = command.get_replica()?;
|
||||
let task = shared::get_task(&mut replica, &self.task)?;
|
||||
let uuid = task.get_uuid();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user