use sys/unix package instead of syscall (#1340)

According to the golang docs, the syscall package is deprecated.
https://golang.org/pkg/syscall
This updates collectors to use the x/sys/unix package instead.
Also updates the vendored x/sys/unix module to latest.

Signed-off-by: Paul Gier <pgier@redhat.com>
This commit is contained in:
Paul Gier 2019-05-10 13:04:06 -05:00 committed by Ben Kochie
commit d0a66c4c40
39 changed files with 2942 additions and 19 deletions

2
go.mod
View file

@ -27,6 +27,6 @@ require (
go.uber.org/multierr v1.1.0 // indirect
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
golang.org/x/sys v0.0.0-20190507053917-2953c62de483
golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)