make linter happy

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-10-28 23:30:28 +01:00
parent 0297be4b9a
commit a2c66dd102
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -330,8 +330,8 @@ var datastoreRewriteCmd = &cli.Command{
go func() {
bw := bufio.NewWriterSize(pw, 64<<20)
_, err := from.DB.Backup(bw, 0)
bw.Flush()
pw.CloseWithError(err)
_ = bw.Flush()
_ = pw.CloseWithError(err)
errCh <- err
}()
go func() {