Fix closing
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
a2c66dd102
commit
ae905bd056
@ -350,6 +350,9 @@ var datastoreRewriteCmd = &cli.Command{
|
||||
}
|
||||
|
||||
err = <-errCh
|
||||
return err
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return multierr.Append(from.Close(), to.Close())
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user