From 3b7f86f380ec3b6187f01037b5d2bc52c4fc97fd Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Wed, 6 Mar 2024 14:19:42 +0100 Subject: [PATCH] set flag when storeresults is called Signed-off-by: Ivan Milchev --- explorer/scan/local_scanner.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/explorer/scan/local_scanner.go b/explorer/scan/local_scanner.go index 4c5502abb9..3e61afacc9 100644 --- a/explorer/scan/local_scanner.go +++ b/explorer/scan/local_scanner.go @@ -616,8 +616,9 @@ func (s *localAssetScanner) runQueryPack() (*AssetReport, error) { log.Debug().Msg("not storing resource data for this asset, nothing available") } else { _, err = conductor.StoreResults(context.Background(), &explorer.StoreResultsReq{ - AssetMrn: s.job.Asset.Mrn, - Resources: data, + AssetMrn: s.job.Asset.Mrn, + Resources: data, + IsLastBatch: true, }) if err != nil { return nil, err