Skip to content

Commit d6e902b

Browse files
removed unused import
1 parent 8910cc5 commit d6e902b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

api/restHandler/BulkUpdateRestHandler.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
"github.com/devtron-labs/devtron/pkg/build/git/gitMaterial/repository"
2424
"github.com/devtron-labs/devtron/pkg/build/git/gitProvider"
2525
"github.com/devtron-labs/devtron/pkg/cluster/environment"
26-
security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
2726
"net/http"
2827
"strconv"
2928
"strings"
@@ -83,7 +82,6 @@ type BulkUpdateRestHandlerImpl struct {
8382
cdHandelr pipeline.CdHandler
8483
appCloneService appClone.AppCloneService
8584
materialRepository repository.MaterialRepository
86-
policyService security2.PolicyService
8785
argoUserService argo.ArgoUserService
8886
}
8987

@@ -104,7 +102,7 @@ func NewBulkUpdateRestHandlerImpl(pipelineBuilder pipeline.PipelineBuilder, logg
104102
cdHandelr pipeline.CdHandler,
105103
appCloneService appClone.AppCloneService,
106104
appWorkflowService appWorkflow.AppWorkflowService,
107-
materialRepository repository.MaterialRepository, policyService security2.PolicyService,
105+
materialRepository repository.MaterialRepository,
108106
argoUserService argo.ArgoUserService) *BulkUpdateRestHandlerImpl {
109107
return &BulkUpdateRestHandlerImpl{
110108
pipelineBuilder: pipelineBuilder,
@@ -129,7 +127,6 @@ func NewBulkUpdateRestHandlerImpl(pipelineBuilder pipeline.PipelineBuilder, logg
129127
appCloneService: appCloneService,
130128
appWorkflowService: appWorkflowService,
131129
materialRepository: materialRepository,
132-
policyService: policyService,
133130
argoUserService: argoUserService,
134131
}
135132
}

0 commit comments

Comments
 (0)