Skip to content

Commit

Permalink
fix: 更正拼写
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 5, 2023
1 parent 7c0c0fd commit 2957c2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/workhub/founder.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func host(c *gin.Context) {

c.Set("Payload", gin.H{
"Stat": psutil.Detail(rq.WithAddr),
"MemStats": psutil.GoMemory(),
"MemStat": psutil.GoMemory(),
"NumGoroutine": runtime.NumGoroutine(),
})

Expand Down
2 changes: 1 addition & 1 deletion module/worker/recv_stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (pod *RecvPod) Stat(rq *socket.PlainData) error {
Success: true,
Payload: map[string]any{
"Stat": psutil.Detail(true),
"MemStats": psutil.GoMemory(),
"MemStat": psutil.GoMemory(),
"NumGoroutine": runtime.NumGoroutine(),
},
})
Expand Down

0 comments on commit 2957c2f

Please sign in to comment.