@@ -727,26 +727,26 @@ func (db *Database) GetDiggerBatch(batchId *uuid.UUID) (*DiggerBatch, error) {
727
727
return batch , nil
728
728
}
729
729
730
- func (db * Database ) CreateDiggerBatch (vcsType DiggerVCSType , githubInstallationId int64 , repoOwner string , repoName string , repoFullname string , PRNumber int , diggerConfig string , branchName string , batchType scheduler.DiggerCommand , commentId * int64 , gitlabProjectId int , aiSummaryCommentId string , reportTerraformOutputs bool , VCSConnectionId * uint ) (* DiggerBatch , error ) {
730
+ func (db * Database ) CreateDiggerBatch (vcsType DiggerVCSType , githubInstallationId int64 , repoOwner string , repoName string , repoFullname string , PRNumber int , diggerConfig string , branchName string , batchType scheduler.DiggerCommand , commentId * int64 , gitlabProjectId int , aiSummaryCommentId string , reportTerraformOutputs bool , coverAllImpactedProjects bool , VCSConnectionId * uint ) (* DiggerBatch , error ) {
731
731
uid := uuid .New ()
732
732
batch := & DiggerBatch {
733
- ID : uid ,
734
- VCS : vcsType ,
735
- VCSConnectionId : VCSConnectionId ,
736
- GithubInstallationId : githubInstallationId ,
737
- RepoOwner : repoOwner ,
738
- RepoName : repoName ,
739
- RepoFullName : repoFullname ,
740
- PrNumber : PRNumber ,
741
- CommentId : commentId ,
742
- Status : scheduler .BatchJobCreated ,
743
- BranchName : branchName ,
744
- DiggerConfig : diggerConfig ,
745
- BatchType : batchType ,
746
- GitlabProjectId : gitlabProjectId ,
747
- AiSummaryCommentId : aiSummaryCommentId ,
748
- ReportTerraformOutputs : reportTerraformOutputs ,
749
- CoverAllImpactedProjects : coverAllImpactedProjects ,
733
+ ID : uid ,
734
+ VCS : vcsType ,
735
+ VCSConnectionId : VCSConnectionId ,
736
+ GithubInstallationId : githubInstallationId ,
737
+ RepoOwner : repoOwner ,
738
+ RepoName : repoName ,
739
+ RepoFullName : repoFullname ,
740
+ PrNumber : PRNumber ,
741
+ CommentId : commentId ,
742
+ Status : scheduler .BatchJobCreated ,
743
+ BranchName : branchName ,
744
+ DiggerConfig : diggerConfig ,
745
+ BatchType : batchType ,
746
+ GitlabProjectId : gitlabProjectId ,
747
+ AiSummaryCommentId : aiSummaryCommentId ,
748
+ ReportTerraformOutputs : reportTerraformOutputs ,
749
+ CoverAllImpactedProjects : coverAllImpactedProjects ,
750
750
}
751
751
result := db .GormDB .Save (batch )
752
752
if result .Error != nil {
0 commit comments