fix merge error

This commit is contained in:
Dustin J. Mitchell 2020-11-29 11:18:29 -05:00
parent 47cd051bd7
commit d832b0b859
3 changed files with 3 additions and 3 deletions

View file

@ -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 mut t = Table::new();

View file

@ -28,7 +28,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)?;
task.into_mut(&mut replica).start()?;
Ok(())

View file

@ -28,7 +28,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)?;
task.into_mut(&mut replica).stop()?;
Ok(())