Skip to content

Commit

Permalink
vendor: update gopsutil to v2.19.6
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <[email protected]>
  • Loading branch information
greut committed Mar 14, 2020
1 parent d286018 commit 642b154
Show file tree
Hide file tree
Showing 109 changed files with 4,063 additions and 3,489 deletions.
2 changes: 1 addition & 1 deletion client/stats/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (h *HostCpuStatsCalculator) Calculate(times cpu.TimesStat) (idle float64, u
currentSystem := times.System
currentTotal := times.Total()
currentBusy := times.User + times.System + times.Nice + times.Iowait + times.Irq +
times.Softirq + times.Steal + times.Guest + times.GuestNice + times.Stolen
times.Softirq + times.Steal + times.Guest + times.GuestNice

deltaTotal := currentTotal - h.prevTotal
idle = ((currentIdle - h.prevIdle) / deltaTotal) * 100
Expand Down
62 changes: 62 additions & 0 deletions vendor/github.com/shirou/gopsutil/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions vendor/github.com/shirou/gopsutil/Gopkg.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions vendor/github.com/shirou/gopsutil/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 642b154

Please sign in to comment.