Refactor with gofmt

pull/659/head
mingrammer 6 years ago
parent 68c6fbd367
commit 64a995aad4

@ -123,7 +123,7 @@ func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) {
ret.Cached += ret.SReclaimable
if !memavail {
if (activeFile && inactiveFile && sReclaimable) {
if activeFile && inactiveFile && sReclaimable {
ret.Available = calcuateAvailVmem(ret, retEx)
} else {
ret.Available = ret.Cached + ret.Free

Loading…
Cancel
Save