Skip to content

Commit

Permalink
fix SyncPg regression (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex authored Dec 17, 2024
1 parent 55a7dc6 commit 1573393
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flow/activities/flowable.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,11 @@ func (a *FlowableActivity) SyncPg(
config *protos.FlowConnectionConfigs,
options *protos.SyncFlowOptions,
sessionID string,
) (int64, error) {
return syncCore(ctx, a, config, options, sessionID, nil,
) (model.SyncRecordsResult, error) {
numRecords, err := syncCore(ctx, a, config, options, sessionID, nil,
connectors.CDCPullPgConnector.PullPg,
connectors.CDCSyncPgConnector.SyncPg)
return model.SyncRecordsResult{NumRecordsSynced: numRecords}, err
}

func (a *FlowableActivity) StartNormalize(
Expand Down

0 comments on commit 1573393

Please sign in to comment.