From d75a5846290a44af6afe462b386efe179a298343 Mon Sep 17 00:00:00 2001 From: nikpivkin Date: Sat, 28 Sep 2024 15:51:50 +0600 Subject: [PATCH] chore: add successful download logs Signed-off-by: nikpivkin --- pkg/db/db.go | 2 ++ pkg/javadb/client.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkg/db/db.go b/pkg/db/db.go index e271d872eab4..cc762eb9f9f3 100644 --- a/pkg/db/db.go +++ b/pkg/db/db.go @@ -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 } diff --git a/pkg/javadb/client.go b/pkg/javadb/client.go index a1485c125681..9057b4e3bd79 100644 --- a/pkg/javadb/client.go +++ b/pkg/javadb/client.go @@ -111,6 +111,8 @@ func (u *Updater) downloadDB() error { } continue } + + log.Info("DB successfully downloaded", log.String("repo", repo.String())) return nil }