Skip to content

Commit 0516611

Browse files
committed
Provide comment for fallback block for arm64
Signed-off-by: Chongyi Zheng <git@zcy.dev>
1 parent a924c4b commit 0516611

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

compare.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,11 @@ func platformVector(platform specs.Platform) []specs.Platform {
124124
}
125125
}
126126

127+
// All arm64/v8.x and arm64/v9.x are compatible with arm/v8 (32-bits) and below.
128+
// There's no arm64 v9 variant, so it's normalized to v8.
127129
if strings.HasPrefix(variant, "v8.") || strings.HasPrefix(variant, "v9.") {
128130
variant = "v8"
129131
}
130-
131132
vector = append(vector, platformVector(specs.Platform{
132133
Architecture: "arm",
133134
OS: platform.OS,

0 commit comments

Comments
 (0)