Skip to content

Commit a9b1ebc

Browse files
serprexdveeden
andauthored
Update canal/dump.go
Co-authored-by: Daniël van Eeden <[email protected]>
1 parent debd8c2 commit a9b1ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canal/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (c *Canal) dump() error {
164164
if err != nil {
165165
return errors.Trace(err)
166166
}
167-
c.cfg.Logger.Info("skip master data, get current binlog position", slog.Any("pos", pos))
167+
c.cfg.Logger.Info("skip master data, get current binlog position", slog.Any("position", pos))
168168
h.name = pos.Name
169169
h.pos = uint64(pos.Pos)
170170
}

0 commit comments

Comments
 (0)