Skip to content

Commit ec7c353

Browse files
committed
my image scan fixes over refactoring
1 parent aea70ec commit ec7c353

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pkg/workflow/dag/WorkflowDagExecutor.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
"github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/adapter/cdWorkflow"
3434
"github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/bean/workflow"
3535
cdWorkflow2 "github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/bean/workflow/cdWorkflow"
36-
"github.com/devtron-labs/devtron/internal/sql/repository/security"
3736
"github.com/devtron-labs/devtron/pkg/app/status"
3837
"github.com/devtron-labs/devtron/pkg/build/artifacts"
3938
bean5 "github.com/devtron-labs/devtron/pkg/build/pipeline/bean"
@@ -48,7 +47,8 @@ import (
4847
constants2 "github.com/devtron-labs/devtron/pkg/pipeline/constants"
4948
"github.com/devtron-labs/devtron/pkg/pipeline/executors"
5049
repository2 "github.com/devtron-labs/devtron/pkg/plugin/repository"
51-
security2 "github.com/devtron-labs/devtron/pkg/security"
50+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
51+
repository3 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
5252
"github.com/devtron-labs/devtron/pkg/sql"
5353
"github.com/devtron-labs/devtron/pkg/workflow/cd"
5454
bean4 "github.com/devtron-labs/devtron/pkg/workflow/cd/bean"
@@ -129,8 +129,8 @@ type WorkflowDagExecutorImpl struct {
129129
commonArtifactService artifacts.CommonArtifactService
130130
deploymentConfigService common2.DeploymentConfigService
131131
asyncRunnable *async.Runnable
132-
scanHistoryRepository security.ImageScanHistoryRepository
133-
imageScanService security2.ImageScanService
132+
scanHistoryRepository repository3.ImageScanHistoryRepository
133+
imageScanService imageScanning.ImageScanService
134134
}
135135

136136
func NewWorkflowDagExecutorImpl(Logger *zap.SugaredLogger, pipelineRepository pipelineConfig.PipelineRepository,
@@ -155,8 +155,8 @@ func NewWorkflowDagExecutorImpl(Logger *zap.SugaredLogger, pipelineRepository pi
155155
commonArtifactService artifacts.CommonArtifactService,
156156
deploymentConfigService common2.DeploymentConfigService,
157157
asyncRunnable *async.Runnable,
158-
scanHistoryRepository security.ImageScanHistoryRepository,
159-
imageScanService security2.ImageScanService,
158+
scanHistoryRepository repository3.ImageScanHistoryRepository,
159+
imageScanService imageScanning.ImageScanService,
160160
) *WorkflowDagExecutorImpl {
161161
wde := &WorkflowDagExecutorImpl{logger: Logger,
162162
pipelineRepository: pipelineRepository,

wire_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)