Skip to content

Commit

Permalink
fix: retransform should run in fullsync mode
Browse files Browse the repository at this point in the history
  • Loading branch information
klesh committed Sep 10, 2024
1 parent 8585d14 commit 3c6d9fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/server/api/blueprints/blueprints.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ func Patch(c *gin.Context) {
// @Accept application/json
// @Param blueprintId path string true "blueprintId"
// @Param skipCollectors body models.TriggerSyncPolicy false "json"
// @Param fullSync body models.TriggerSyncPolicy false "json"
// @Success 200 {object} models.Pipeline
// @Failure 400 {object} shared.ApiBody "Bad Request"
// @Failure 500 {object} shared.ApiBody "Internal Error"
Expand Down
2 changes: 1 addition & 1 deletion config-ui/src/routes/blueprint/detail/status-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const StatusPanel = ({ from, blueprint, pipelineId, onRefresh }: Props) =
type="primary"
disabled={!blueprint.enable}
loading={operating}
onClick={() => handleRun({ skipCollectors: true })}
onClick={() => handleRun({ skipCollectors: true, fullSync: true })}
>
Re-transform Data
</Button>
Expand Down

0 comments on commit 3c6d9fd

Please sign in to comment.