This is an automated email from the ASF dual-hosted git repository.

wuzhiguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bigtop-manager.git


The following commit(s) were added to refs/heads/main by this push:
     new fa15bbb8 BIGTOP-4404: Fix the x86_64 arch type has no matching 
standard arch type (#205)
fa15bbb8 is described below

commit fa15bbb8f81f5d9cba6ff36fee40d605cb5d9ca1
Author: Halim Kim <[email protected]>
AuthorDate: Sun Apr 13 14:22:58 2025 +0900

    BIGTOP-4404: Fix the x86_64 arch type has no matching standard arch type 
(#205)
---
 .../java/org/apache/bigtop/manager/common/utils/os/OSDetection.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/utils/os/OSDetection.java
 
b/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/utils/os/OSDetection.java
index d11fe3a7..25522b3a 100644
--- 
a/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/utils/os/OSDetection.java
+++ 
b/bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/utils/os/OSDetection.java
@@ -176,7 +176,7 @@ public class OSDetection {
 
     private static String standardizeArch(String arch) {
         return switch (arch) {
-            case "amd64" -> "x86_64";
+            case "amd64", "x86_64" -> "x86_64";
             case "arm64", "aarch64" -> "aarch64";
             case "x86" -> "i386";
             case "arm" -> "armv7l";

Reply via email to