Skip to content

Commit

Permalink
chore: add successful download logs
Browse files Browse the repository at this point in the history
Signed-off-by: nikpivkin <[email protected]>
  • Loading branch information
nikpivkin committed Sep 28, 2024
1 parent 50ad0d6 commit d75a584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ func (c *Client) downloadDB(ctx context.Context, opt types.RegistryOptions, dst
}
continue
}

log.Info("DB successfully downloaded", log.String("repo", repo.String()))
return nil
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/javadb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func (u *Updater) downloadDB() error {
}
continue
}

log.Info("DB successfully downloaded", log.String("repo", repo.String()))
return nil
}

Expand Down

0 comments on commit d75a584

Please sign in to comment.