Explorar o código

Test init log (#974)

link %!s(int64=2) %!d(string=hai) anos
pai
achega
60a141fe25
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      route/v1/system.go

+ 1 - 5
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 {