Commit cea7c216 authored by Ubuntu's avatar Ubuntu

fix mem usage

parent 68789801
...@@ -46,7 +46,7 @@ func getMemoryUsage() ([]DeviceInfo, error) { ...@@ -46,7 +46,7 @@ func getMemoryUsage() ([]DeviceInfo, error) {
total := decimal.NewFromInt(mem.Area.TotalPhysicalBytes) total := decimal.NewFromInt(mem.Area.TotalPhysicalBytes)
mem.TotalUsableBytes //mem.TotalUsableBytes
e := DeviceInfo{ e := DeviceInfo{
Type: fmt.Sprintf("mem"), Type: fmt.Sprintf("mem"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment