From aa6c0e5d7374f29be815531b0b7ae6b3389258a3 Mon Sep 17 00:00:00 2001 From: Preslav Gerchev Date: Fri, 21 Jun 2024 07:29:29 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Log=20the=20amount=20of=20assets?= =?UTF-8?q?=20we're=20synchronizing.=20(#1337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Preslav --- policy/scan/local_scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/scan/local_scanner.go b/policy/scan/local_scanner.go index 4390fbaa..09bd8179 100644 --- a/policy/scan/local_scanner.go +++ b/policy/scan/local_scanner.go @@ -352,7 +352,7 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up } assetsToSync = append(assetsToSync, batch[i].Asset) } - + log.Debug().Int("assets", len(assetsToSync)).Msg("synchronizing assets upstream") resp, err := services.SynchronizeAssets(ctx, &policy.SynchronizeAssetsReq{ SpaceMrn: spaceMrn, List: assetsToSync,