Skip to content

test/util: add arm64 to aarch64 translation in translateGOARCH#2746

Merged
AdityaMittal1306 merged 1 commit into
mainfrom
adityamittal/arm64
May 21, 2026
Merged

test/util: add arm64 to aarch64 translation in translateGOARCH#2746
AdityaMittal1306 merged 1 commit into
mainfrom
adityamittal/arm64

Conversation

@AdityaMittal1306
Copy link
Copy Markdown
Contributor

Add arm64 → aarch64 mapping to translateGOARCH in the test utility package, aligning Go's GOARCH value with the official architecture name used by OCI image specs and platform matching.

The translateGOARCH function converts Go architecture identifiers to their canonical names (e.g., 386 → x86, amd64 → x86_64). The arm64 case was missing, which is needed for ARM64/AArch64 platform support in tests that rely on architecture-specific image selection or platform matching.

@AdityaMittal1306 AdityaMittal1306 requested a review from a team as a code owner May 20, 2026 07:40
Copy link
Copy Markdown
Contributor

@marma-dev marma-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: AdityaMittal <adityamittal@microsoft.com>
@AdityaMittal1306 AdityaMittal1306 merged commit ab454d9 into main May 21, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants