mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-08-27 00:37:20 +00:00
find total memory instead of available (#525)
This commit is contained in:
@@ -31,7 +31,7 @@ func (c *CollectHostMemory) Collect(progressChan chan<- interface{}) (map[string
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to read virtual memory")
|
||||
}
|
||||
memoryInfo.Total = vmstat.Available
|
||||
memoryInfo.Total = vmstat.Total
|
||||
|
||||
b, err := json.Marshal(memoryInfo)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user