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
vendor/modules.txt vendored
View file

@ -70,7 +70,7 @@ golang.org/x/net/internal/iana
golang.org/x/net/internal/socket
# golang.org/x/sync v0.0.0-20190423024810-112230192c58
golang.org/x/sync/errgroup
# golang.org/x/sys v0.0.0-20190507053917-2953c62de483
# golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862
golang.org/x/sys/unix
golang.org/x/sys/windows/svc/eventlog
golang.org/x/sys/windows