Skip to content

Commit 7328da8

Browse files
committed
refactor: remove unused consts
1 parent 8407d6f commit 7328da8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pkg/commands/artifact/run.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import (
2020
"github.com/aquasecurity/trivy/pkg/utils"
2121
)
2222

23-
const defaultPolicyNamespace = "appshield"
24-
2523
var errSkipScan = errors.New("skip subsequent processes")
2624

2725
// InitializeScanner type to define initialize function signature

pkg/commands/client/run.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import (
1818
"github.com/aquasecurity/trivy/pkg/utils"
1919
)
2020

21-
const defaultPolicyNamespace = "appshield"
22-
2321
// Run runs the scan
2422
func Run(cliCtx *cli.Context) error {
2523
opt, err := NewOption(cliCtx)

0 commit comments

Comments
 (0)