Skip to content

Commit

Permalink
extension: Support multiple manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickelectric committed Nov 14, 2024
1 parent 68a4b3d commit 6db101c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions blueos_repository/extension/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ async def __extract_valid_embedded_digest(self, fetch: ManifestFetch) -> str:
# Manifest list
valid_manifests = [entry for entry in fetch.manifest.manifests if self.__is_compatible(entry.platform)]
if len(valid_manifests) != 1:
raise RuntimeError(
f"Expected one valid manifest for target embedded arch but found: {len(valid_manifests)}"
Logger.warning(
self.identifier,
f"Expected one valid manifest for target embedded arch but found: {len(valid_manifests)}",
)

# Needs to refetch because it was a manifest list
Expand Down

0 comments on commit 6db101c

Please sign in to comment.