mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-24 22:16:35 +08:00
剩余空间使用free blocks代替available blocks
This commit is contained in:
@@ -286,7 +286,7 @@ func (this *NodeStatusExecutor) updateCacheSpace(status *nodeconfigs.NodeStatus)
|
||||
result = append(result, maps.Map{
|
||||
"path": path,
|
||||
"total": stat.TotalSize(),
|
||||
"avail": stat.AvailableSize(),
|
||||
"avail": stat.FreeSize(),
|
||||
"used": stat.UsedSize(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user