Skip to content

Commit

Permalink
[backend] Fix param to retrieve asset groups from a raw map
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 committed Oct 21, 2024
1 parent aece878 commit 784ca47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ public static List<InjectTargetWithResult> getTargetsWithResultsFromRaw(

// Loop into assetsToRefine to keep just assets linked to asset group
for (InjectTargetWithResult asset : assetsToRefine) {
boolean foundExpectationForAsset = rawAssetGroupMap.get(assetGroupExpectationMap.get(entry.getKey())).getAsset_ids().stream()
boolean foundExpectationForAsset = rawAssetGroupMap.get(assetGroupExpectationMap.get(entry.getKey()).getAsset_group_id()).getAsset_ids().stream()
.anyMatch(assetChild -> assetChild.equals(asset.getId()));

// Verify if any expectation is related to a dynamic assets
Expand Down

0 comments on commit 784ca47

Please sign in to comment.