Skip to content

Commit 60a141f

Browse files
authored
Test init log (#974)
1 parent 02e712f commit 60a141f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

route/v1/system.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,7 @@ func PostKillCasaOS(c *gin.Context) {
177177
func GetSystemHardwareInfo(c *gin.Context) {
178178
data := make(map[string]string, 1)
179179
data["drive_model"] = service.MyService.System().GetDeviceTree()
180-
if runtime.GOARCH == "arm" {
181-
data["arch"] = "arm-7"
182-
} else {
183-
data["arch"] = runtime.GOARCH
184-
}
180+
data["arch"] = runtime.GOARCH
185181

186182
if cpu := service.MyService.System().GetCpuInfo(); len(cpu) > 0 {
187183

0 commit comments

Comments
 (0)