mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2026-02-14 10:00:14 +00:00
chore: bump up Go version to 1.23.4 (#1776)
* chore; bump up Go version to 1.23.4 * chore(ci): set up a timeout for go linter * chore: remove deprecated linter checks * chore: bump up golinter timeout to 10sec * chore: bump up golinter action version to v1.61 * chore: fix linter errors * chore: set up a timeout for golinter in Github action
This commit is contained in:
@@ -47,7 +47,7 @@ var runCmd = &cobra.Command{
|
||||
exitWithError(fmt.Errorf("error validating targets: %v", err))
|
||||
}
|
||||
if len(targets) > 0 && !valid {
|
||||
exitWithError(fmt.Errorf(fmt.Sprintf(`The specified --targets "%s" are not configured for the CIS Benchmark %s\n Valid targets %v`, strings.Join(targets, ","), bv, benchmarkVersionToTargetsMap[bv])))
|
||||
exitWithError(fmt.Errorf(`The specified --targets "%s" are not configured for the CIS Benchmark %s\n Valid targets %v`, strings.Join(targets, ","), bv, benchmarkVersionToTargetsMap[bv]))
|
||||
}
|
||||
|
||||
// Merge version-specific config if any.
|
||||
|
||||
Reference in New Issue
Block a user