Skip to content

Commit

Permalink
Test init log (IceWhaleTech#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong authored Mar 23, 2023
1 parent 02e712f commit 60a141f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions route/v1/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 60a141f

Please sign in to comment.