Skip to content

Commit a00b8ea

Browse files
authored
Merge pull request #1181 from mikemorris/patch-1
deps: switch to recommended fork of StackExchange/wmi
2 parents 6e1e70b + 0fdf65f commit a00b8ea

File tree

10 files changed

+73
-24
lines changed

10 files changed

+73
-24
lines changed

Gopkg.lock

+57-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727

2828
[[constraint]]
29-
name = "github.com/StackExchange/wmi"
30-
version = "1.0.0"
29+
name = "github.com/yusufpapurcu/wmi"
30+
version = "1.2.2"
3131

3232
[[constraint]]
3333
name = "github.com/stretchr/testify"

cpu/cpu_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"unsafe"
1010

11-
"github.com/StackExchange/wmi"
11+
"github.com/yusufpapurcu/wmi"
1212
"github.com/shirou/gopsutil/internal/common"
1313
"golang.org/x/sys/windows"
1414
)

host/host_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
"time"
1414
"unsafe"
1515

16-
"github.com/StackExchange/wmi"
1716
"github.com/shirou/gopsutil/internal/common"
1817
"github.com/shirou/gopsutil/process"
18+
"github.com/yusufpapurcu/wmi"
1919
"golang.org/x/sys/windows"
2020
)
2121

internal/common/common_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"syscall"
1212
"unsafe"
1313

14-
"github.com/StackExchange/wmi"
14+
"github.com/yusufpapurcu/wmi"
1515
"golang.org/x/sys/windows"
1616
)
1717

v3/cpu/cpu_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"unsafe"
99

10-
"github.com/StackExchange/wmi"
10+
"github.com/yusufpapurcu/wmi"
1111
"github.com/shirou/gopsutil/v3/internal/common"
1212
"golang.org/x/sys/windows"
1313
)

v3/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ module github.com/shirou/gopsutil/v3
33
go 1.15
44

55
require (
6-
github.com/StackExchange/wmi v1.2.1
76
github.com/google/go-cmp v0.5.6
8-
github.com/go-ole/go-ole v1.2.6 // indirect
97
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0
8+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c
109
github.com/stretchr/testify v1.7.0
1110
github.com/tklauser/go-sysconf v0.3.9
11+
github.com/yusufpapurcu/wmi v1.2.2
1212
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c
1313
)

v3/go.sum

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA=
2-
github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8=
31
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
42
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5-
github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
63
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
74
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
85
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
@@ -15,17 +12,23 @@ github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ
1512
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
1613
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1714
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
15+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
16+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
1817
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1918
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
2019
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2120
github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo=
2221
github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs=
2322
github.com/tklauser/numcpus v0.3.0 h1:ILuRUQBtssgnxw0XXIjKUC56fgnOrFoQQ/4+DeU2biQ=
2423
github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8=
24+
github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg=
25+
github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
2526
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
27+
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
2628
golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
2729
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c h1:taxlMj0D/1sOAuv/CbSD+MMDof2vbyPTqz5FNYKpXt8=
2830
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
31+
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
2932
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
3033
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
3134
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

v3/host/host_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414
"unsafe"
1515

16-
"github.com/StackExchange/wmi"
16+
"github.com/yusufpapurcu/wmi"
1717
"github.com/shirou/gopsutil/v3/internal/common"
1818
"github.com/shirou/gopsutil/v3/process"
1919
"golang.org/x/sys/windows"

v3/internal/common/common_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"syscall"
1212
"unsafe"
1313

14-
"github.com/StackExchange/wmi"
14+
"github.com/yusufpapurcu/wmi"
1515
"golang.org/x/sys/windows"
1616
)
1717

0 commit comments

Comments
 (0)