Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func (impl AppWorkflowRepositoryImpl) FindWFCDMappingByCIPipelineId(ciPipelineId

err := impl.dbConnection.Model(&appWorkflowsMapping).
Where("parent_id = ?", ciPipelineId).
Where("parent_type = ?", CIPIPELINE).
Where("type = ?", CDPIPELINE).
Where("active = ?", true).
Select()
Expand All @@ -236,6 +237,7 @@ func (impl AppWorkflowRepositoryImpl) FindWFCDMappingByCIPipelineIds(ciPipelineI

err := impl.dbConnection.Model(&appWorkflowsMapping).
Where("parent_id in (?) ", pg.In(ciPipelineIds)).
Where("parent_type = ?", CIPIPELINE).
Where("type = ?", CDPIPELINE).
Where("active = ?", true).
Select()
Expand Down