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:
Daniel Liu 2024-12-13 14:00:12 +08:00
parent d16c72edbe
commit 73b81dde78

View file

@ -20,7 +20,7 @@
package metrics
import (
"syscall"
syscall "golang.org/x/sys/unix"
"github.com/XinFinOrg/XDPoSChain/log"
)