Skip to content

Commit

Permalink
Update go/vt/mysqlctl/builtinbackupengine.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Lord <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui and mattlord authored Oct 25, 2024
1 parent 75cd42d commit cfbeeba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/vt/mysqlctl/builtinbackupengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,7 @@ func (be *BuiltinBackupEngine) backupFiles(

// Backup the individual file.
name := fmt.Sprintf("%v", i)
err := be.backupFile(ctxCancel, params, bh, fe, name)
if err != nil {
if err := be.backupFile(ctxCancel, params, bh, fe, name); err != nil {
bh.RecordError(err)
cancel()
}
Expand Down

0 comments on commit cfbeeba

Please sign in to comment.