mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: code review
This commit is contained in:
@@ -29,6 +29,7 @@ func NewDbBinlog(history *DbBackupHistory) *DbBinlog {
|
||||
Enabled: true,
|
||||
Interval: BinlogDownloadInterval,
|
||||
DbInstanceId: history.DbInstanceId,
|
||||
LastTime: time.Now(),
|
||||
}
|
||||
binlogTask.Id = binlogTask.DbInstanceId
|
||||
return binlogTask
|
||||
|
||||
Reference in New Issue
Block a user