mirror of
https://github.com/anchore/grype
synced 2024-11-10 14:44:12 +00:00
chore: Update grype bootstrap tools to latest versions. (#1187)
This commit is contained in:
parent
b996cbe29b
commit
353bc87bb2
4 changed files with 6 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -10,11 +10,11 @@ CHRONICLE_CMD = $(TEMP_DIR)/chronicle
|
|||
GLOW_CMD = $(TEMP_DIR)/glow
|
||||
|
||||
# Tool versions #################################
|
||||
GOLANGCILINT_VERSION := v1.51.2
|
||||
GOLANGCILINT_VERSION := v1.52.0
|
||||
GOSIMPORTS_VERSION := v0.3.8
|
||||
BOUNCER_VERSION := v0.4.0
|
||||
CHRONICLE_VERSION := v0.6.0
|
||||
GORELEASER_VERSION := v1.16.1
|
||||
GORELEASER_VERSION := v1.16.2
|
||||
YAJSV_VERSION := v1.4.1
|
||||
QUILL_VERSION := v0.2.0
|
||||
GLOW_VERSION := v1.5.0
|
||||
|
|
|
@ -67,7 +67,7 @@ func init() {
|
|||
rootCmd.AddCommand(completionCmd)
|
||||
}
|
||||
|
||||
func dockerImageValidArgsFunction(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
|
||||
func dockerImageValidArgsFunction(_ *cobra.Command, _ []string, toComplete string) ([]string, cobra.ShellCompDirective) {
|
||||
// Since we use ValidArgsFunction, Cobra will call this AFTER having parsed all flags and arguments provided
|
||||
dockerImageRepoTags, err := listLocalDockerImages(toComplete)
|
||||
if err != nil {
|
||||
|
|
|
@ -189,6 +189,7 @@ func setRootFlags(flags *pflag.FlagSet) {
|
|||
)
|
||||
}
|
||||
|
||||
//nolint:revive
|
||||
func bindRootConfigOptions(flags *pflag.FlagSet) error {
|
||||
if err := viper.BindPFlag("search.scope", flags.Lookup("scope")); err != nil {
|
||||
return err
|
||||
|
|
|
@ -20,7 +20,7 @@ func (l logAdapter) LogMode(logger.LogLevel) logger.Interface {
|
|||
return l
|
||||
}
|
||||
|
||||
func (l logAdapter) Info(_ context.Context, fmt string, v ...interface{}) {
|
||||
func (l logAdapter) Info(_ context.Context, _ string, _ ...interface{}) {
|
||||
// unimplemented
|
||||
}
|
||||
|
||||
|
@ -32,6 +32,6 @@ func (l logAdapter) Error(_ context.Context, fmt string, v ...interface{}) {
|
|||
log.Errorf("gorm: "+fmt, v...)
|
||||
}
|
||||
|
||||
func (l logAdapter) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
|
||||
func (l logAdapter) Trace(_ context.Context, _ time.Time, _ func() (sql string, rowsAffected int64), _ error) {
|
||||
// unimplemented
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue