Skip to content

Commit

Permalink
Merge pull request #101 from guyco-redis/master
Browse files Browse the repository at this point in the history
Added support for `arm64v8` architecture.
  • Loading branch information
alonre24 authored Oct 6, 2023
2 parents 1c500b9 + 7f9e23e commit 64318ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RAMP/unpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,10 @@ def _validate_metadata(metadata):
reason="Empty module file name",
error_code="module_file_missing")

if metadata["architecture"] != 'x86_64':
if metadata["architecture"] not in {"x86_64", "arm64v8"}:
raise UnpackerPackageError(message=INVALID_METADATA,
reason="Architecture must be 64 bits",
error_code="module_architecture_not_supported",
error_details={'expected': 'x86_64'})
error_code="module_architecture_not_supported")

if not metadata["version"]:
raise UnpackerPackageError(message=INVALID_METADATA,
Expand Down

0 comments on commit 64318ba

Please sign in to comment.