Skip to content

Commit

Permalink
fix: redhat-content-manifests content sets parsing UNIFY-387
Browse files Browse the repository at this point in the history
  • Loading branch information
adrobuta committed Nov 18, 2024
1 parent eefe9ab commit 4827da3
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/inputs/redHat/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export function getRedHatRepositoriesFromExtractedLayers(
const contentManifest = extractedLayers[filePath][
"redhat-content-manifests"
] as any;
if (!contentManifest || !contentManifest.content_sets) {
continue;
}
repositories.push(...contentManifest?.content_sets);
}
}
Expand Down
Loading

0 comments on commit 4827da3

Please sign in to comment.