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 b7dd553
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blueos_repository/extension/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ 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(f"Expected one valid manifest for target embedded arch but found: {len(valid_manifests)}")

# Needs to refetch because it was a manifest list
manifest_fetch = await self.registry.get_manifest(valid_manifests[0].digest)
Expand Down

0 comments on commit b7dd553

Please sign in to comment.