mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
chore: fix dependabot alerts (#3070)
* chore: fix dependabot alerts Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * ci: fix linter config * fix: linter fixes Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> --------- Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
cb9b82823a
commit
fd761c0254
@@ -661,7 +661,7 @@ func (service searchService) getImagesByDigest(ctx context.Context, config Searc
|
||||
if common.IsContextDone(ctx) {
|
||||
return
|
||||
}
|
||||
rch <- stringResult{"", errors.New(errBuilder.String())} //nolint: goerr113
|
||||
rch <- stringResult{"", errors.New(errBuilder.String())} //nolint: err113
|
||||
|
||||
return
|
||||
}
|
||||
@@ -723,7 +723,7 @@ func checkResultGraphQLQuery(ctx context.Context, err error, resultErrors []comm
|
||||
return nil
|
||||
}
|
||||
|
||||
//nolint: goerr113
|
||||
//nolint: err113
|
||||
return errors.New(errBuilder.String())
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"time"
|
||||
|
||||
glob "github.com/bmatcuk/doublestar/v4"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
"github.com/go-viper/mapstructure/v2"
|
||||
distspec "github.com/opencontainers/distribution-spec/specs-go"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
Reference in New Issue
Block a user