Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Nov 20, 2023
1 parent b82293c commit 2e22925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdc/sink/ddlsink/cloudstorage/cloud_storage_ddl_sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (d *DDLSink) bgCleanup(ctx context.Context, cleanupJob func()) {
zap.String("namespace", d.id.Namespace),
zap.String("changefeedID", d.id.ID),
zap.String("date-separator", d.cfg.DateSeparator),
zap.Duration("expired-file-ttl", d.cfg.FileExpirationDays))
zap.Int("expired-file-ttl", d.cfg.FileExpirationDays))
return
}

Expand All @@ -176,7 +176,7 @@ func (d *DDLSink) bgCleanup(ctx context.Context, cleanupJob func()) {
zap.String("namespace", d.id.Namespace),
zap.String("changefeedID", d.id.ID),
zap.String("date-separator", d.cfg.DateSeparator),
zap.Duration("expired-file-ttl", d.cfg.FileExpirationDays))
zap.Int("expired-file-ttl", d.cfg.FileExpirationDays))

// wait for the context done
<-ctx.Done()
Expand Down

0 comments on commit 2e22925

Please sign in to comment.