剩余空间使用free blocks代替available blocks

This commit is contained in:
刘祥超
2023-07-09 21:27:04 +08:00
parent 1be64adb6a
commit c6c0823d30
4 changed files with 9 additions and 9 deletions

View File

@@ -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(),
})
}