Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 17, 2025
1 parent def119a commit 4eefa08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,7 @@ func CDCFlowWorkflow(
WaitForCancellation: true,
}
snapshotFlowCtx := workflow.WithChildOptions(ctx, childSnapshotFlowOpts)
snapshotFlowFuture := workflow.ExecuteChildWorkflow(
snapshotFlowCtx,
SnapshotFlowWorkflow,
cfg,
)
snapshotFlowFuture := workflow.ExecuteChildWorkflow(snapshotFlowCtx, SnapshotFlowWorkflow, cfg)
if err := snapshotFlowFuture.Get(snapshotFlowCtx, nil); err != nil {
logger.Error("snapshot flow failed", slog.Any("error", err))
return state, fmt.Errorf("failed to execute snapshot workflow: %w", err)
Expand Down
1 change: 0 additions & 1 deletion flow/workflows/snapshot_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ type SnapshotFlowExecution struct {
logger log.Logger
}

// ensurePullability ensures that the source peer is pullable.
func (s *SnapshotFlowExecution) setupReplication(
ctx workflow.Context,
) (*protos.SetupReplicationOutput, error) {
Expand Down

0 comments on commit 4eefa08

Please sign in to comment.