Skip to content

Commit c6092a4

Browse files
author
Deepak Gupta
committed
Run gofumpt
1 parent 443c85e commit c6092a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

replication/backup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ func (b *BinlogSyncer) StartSynchronousBackup(p mysql.Position, timeout time.Dur
121121

122122
// StartSynchronousBackupWithGTID starts the backup process using the SynchronousEventHandler in the BinlogSyncerConfig with a specified GTID set.
123123
func (b *BinlogSyncer) StartSynchronousBackupWithGTID(gset mysql.GTIDSet, timeout time.Duration) error {
124-
125124
if b.cfg.SynchronousEventHandler == nil {
126125
return errors.New("SynchronousEventHandler must be set in BinlogSyncerConfig to use StartSynchronousBackupWithGTID")
127126
}

replication/backup_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ package replication
33
import (
44
"context"
55
"fmt"
6-
"github.com/google/uuid"
76
"io"
87
"os"
98
"path"
109
"time"
1110

11+
"github.com/google/uuid"
12+
1213
"github.com/stretchr/testify/require"
1314

1415
"github.com/go-mysql-org/go-mysql/mysql"

0 commit comments

Comments
 (0)