Skip to content

Commit

Permalink
set flag when storeresults is called
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Mar 6, 2024
1 parent f8f595c commit 3b7f86f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions explorer/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b7f86f

Please sign in to comment.