Skip to content

Commit

Permalink
Update after the review
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Aug 11, 2016
1 parent fbb2d5c commit 50ca5c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/stats/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ func (h *HostStatsCollector) Collect() (*HostStats, error) {
if err != nil {
return nil, err
}
ms := &MemoryStats{
hs.Memory = &MemoryStats{
Total: memStats.Total,
Available: memStats.Available,
Used: memStats.Used,
Free: memStats.Free,
}
hs.Memory = ms

ticksConsumed := 0.0
cpuStats, err := cpu.Times(true)
Expand Down

0 comments on commit 50ca5c7

Please sign in to comment.