metrics: use golang.org/x/sys/unix to support Solaris (#22584)

Fixes #11113

Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
This commit is contained in:
Mathijs de Bruin 2021-06-01 09:50:54 +01:00 committed by GitHub
parent 2cde472650
commit 2dee31930c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@
package metrics
import (
"syscall"
syscall "golang.org/x/sys/unix"
"github.com/ethereum/go-ethereum/log"
)