Skip to content

Commit

Permalink
Update flow/connectors/postgres/cdc.go
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Dubé <[email protected]>
  • Loading branch information
heavycrystal and serprex authored Jun 15, 2024
1 parent a51daba commit 8ee8c2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow/connectors/postgres/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,7 @@ func PullCdcRecords[Items model.Items](
if err != nil {
return err
}
err = records.AddRecord(ctx, rec)
if err != nil {
if err := records.AddRecord(ctx, rec); err != nil {
return err
}

Expand Down

0 comments on commit 8ee8c2d

Please sign in to comment.