Skip to content

Commit

Permalink
chore: remove unnecessary logging
Browse files Browse the repository at this point in the history
Signed-off-by: nikpivkin <[email protected]>
  • Loading branch information
nikpivkin committed Sep 27, 2024
1 parent 95df470 commit 0c5ad86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/commands/operation/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func DownloadDB(ctx context.Context, appVersion, cacheDir string, dbRepositories

if needsUpdate {
log.InfoContext(ctx, "Need to update DB")
log.InfoContext(ctx, "Downloading DB...", log.Any("repositories", dbRepositories))
if err = client.Download(ctx, dbDir, opt); err != nil {
return xerrors.Errorf("failed to download vulnerability DB: %w", err)
}
Expand Down
2 changes: 0 additions & 2 deletions pkg/javadb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ func (u *Updater) Update() error {

if (meta.Version != SchemaVersion || !u.isNewDB(meta)) && !u.skip {
// Download DB
log.Info("Java DB Repositories", log.Any("repositories", u.repos))

// TODO: support remote options
if err := u.downloadDB(); err != nil {
return xerrors.Errorf("OCI artifact error: %w", err)
Expand Down

0 comments on commit 0c5ad86

Please sign in to comment.