diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2018-04-08 16:50:02 -0700 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2018-04-08 16:50:02 -0700 |
commit | 70c322d73163a94e3b90cf811e6dc60dc25d52b6 (patch) | |
tree | 01d19b43f352efa09bcba25bfc622cd415bce8be /vendor/github.com/shirou/gopsutil/cpu/cpu.go | |
parent | 1a61eb2153453aced9e2c5a100c4b727f3b2aa00 (diff) |
Change gopsutil vendor to master branch1.2.3
Diffstat (limited to 'vendor/github.com/shirou/gopsutil/cpu/cpu.go')
-rw-r--r-- | vendor/github.com/shirou/gopsutil/cpu/cpu.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/shirou/gopsutil/cpu/cpu.go b/vendor/github.com/shirou/gopsutil/cpu/cpu.go index 049869e..ceaf77f 100644 --- a/vendor/github.com/shirou/gopsutil/cpu/cpu.go +++ b/vendor/github.com/shirou/gopsutil/cpu/cpu.go @@ -54,10 +54,9 @@ type lastPercent struct { } var lastCPUPercent lastPercent -var invoke common.Invoker +var invoke common.Invoker = common.Invoke{} func init() { - invoke = common.Invoke{} lastCPUPercent.Lock() lastCPUPercent.lastCPUTimes, _ = Times(false) lastCPUPercent.lastPerCPUTimes, _ = Times(true) |