From 60a141fe25424a0c2a3ce8f806a68142ca708aa3 Mon Sep 17 00:00:00 2001 From: link Date: Thu, 23 Mar 2023 12:09:46 +0800 Subject: [PATCH] Test init log (#974) --- route/v1/system.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/route/v1/system.go b/route/v1/system.go index 7e9d772e6..1e26d5f73 100644 --- a/route/v1/system.go +++ b/route/v1/system.go @@ -177,11 +177,7 @@ func PostKillCasaOS(c *gin.Context) { func GetSystemHardwareInfo(c *gin.Context) { data := make(map[string]string, 1) data["drive_model"] = service.MyService.System().GetDeviceTree() - if runtime.GOARCH == "arm" { - data["arch"] = "arm-7" - } else { - data["arch"] = runtime.GOARCH - } + data["arch"] = runtime.GOARCH if cpu := service.MyService.System().GetCpuInfo(); len(cpu) > 0 {