Skip to content

Commit ecd4a99

Browse files
committed
fixed unit test commit
1 parent 3171ad9 commit ecd4a99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/docs/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ var flagsMap = map[string]components.Flag{
332332
AddSastRules: components.NewStringFlag(AddSastRules, "Incorporate any additional SAST rules (in JSON format, with absolute path) into this local scan."),
333333

334334
// Docker flags
335-
DockerImageName: components.NewStringFlag(DockerImageName, "[Docker] Defines the Docker image name to audit. Uses the same format as Docker client with Artifactory. Examples: 'acme.jfrog.io/docker-local/nginx:1.21' (repository path) or 'acme-docker-local.jfrog.io/nginx:1.21' (subdomain). Supports all Artifactory hosting methods."),
335+
DockerImageName: components.NewStringFlag(DockerImageName, "[Docker] Defines the Docker image name to audit. Uses the same format as Docker client with Artifactory. Examples: 'acme.jfrog.io/docker-local/nginx:1.21' (repository path) or 'acme-docker-local.jfrog.io/nginx:1.21' (subdomain)."),
336336

337337
// Git flags
338338
InputFile: components.NewStringFlag(InputFile, "Path to an input file in YAML format contains multiple git providers. With this option, all other scm flags will be ignored and only git servers mentioned in the file will be examined.."),

commands/curation/curationaudit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ func runDockerCurationTest(tt testCase, serverDetails *config.ServerDetails) (ma
547547
statusMap := sync.Map{}
548548
var status []*PackageStatus
549549

550-
analyzer.fetchNodesStatus(tree[0], &statusMap, map[string]struct{}{rootId: {}})
550+
_ = analyzer.fetchNodesStatus(tree[0], &statusMap, map[string]struct{}{rootId: {}})
551551
analyzer.GraphsRelations(tree, &statusMap, &status)
552552

553553
return map[string]*CurationReport{rootId: {packagesStatus: status, totalNumberOfPackages: 1}}, nil

0 commit comments

Comments
 (0)