Skip to content

Commit 27a79b5

Browse files
committed
fix
1 parent 3b38f13 commit 27a79b5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/policyGovernance/security/imageScanning/repository/ImageScanHistoryRepository.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package repository
1818

1919
import (
20-
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/resourceScanning/repository"
2120
serverBean "github.com/devtron-labs/devtron/pkg/server/bean"
2221
"github.com/go-pg/pg"
2322
"go.uber.org/zap"
@@ -53,7 +52,7 @@ func (ed *ExecutionData) IsCode() bool {
5352
return ed.SourceType == SourceTypeCode && ed.SourceSubType == SourceSubTypeCi
5453
}
5554

56-
func (ed *ExecutionData) ContainsType(typeToCheck repository.ResourceScanType) bool {
55+
func (ed *ExecutionData) ContainsType(typeToCheck ResourceScanType) bool {
5756
for _, scanType := range ed.Types {
5857
if scanType == int(typeToCheck) {
5958
return true

0 commit comments

Comments
 (0)