@@ -23,7 +23,6 @@ import (
23
23
"github.com/devtron-labs/devtron/pkg/build/git/gitMaterial/repository"
24
24
"github.com/devtron-labs/devtron/pkg/build/git/gitProvider"
25
25
"github.com/devtron-labs/devtron/pkg/cluster/environment"
26
- security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
27
26
"net/http"
28
27
"strconv"
29
28
"strings"
@@ -83,7 +82,6 @@ type BulkUpdateRestHandlerImpl struct {
83
82
cdHandelr pipeline.CdHandler
84
83
appCloneService appClone.AppCloneService
85
84
materialRepository repository.MaterialRepository
86
- policyService security2.PolicyService
87
85
argoUserService argo.ArgoUserService
88
86
}
89
87
@@ -104,7 +102,7 @@ func NewBulkUpdateRestHandlerImpl(pipelineBuilder pipeline.PipelineBuilder, logg
104
102
cdHandelr pipeline.CdHandler ,
105
103
appCloneService appClone.AppCloneService ,
106
104
appWorkflowService appWorkflow.AppWorkflowService ,
107
- materialRepository repository.MaterialRepository , policyService security2. PolicyService ,
105
+ materialRepository repository.MaterialRepository ,
108
106
argoUserService argo.ArgoUserService ) * BulkUpdateRestHandlerImpl {
109
107
return & BulkUpdateRestHandlerImpl {
110
108
pipelineBuilder : pipelineBuilder ,
@@ -129,7 +127,6 @@ func NewBulkUpdateRestHandlerImpl(pipelineBuilder pipeline.PipelineBuilder, logg
129
127
appCloneService : appCloneService ,
130
128
appWorkflowService : appWorkflowService ,
131
129
materialRepository : materialRepository ,
132
- policyService : policyService ,
133
130
argoUserService : argoUserService ,
134
131
}
135
132
}
0 commit comments