Browse Source

Fix build

Signed-off-by: Oliver Geiselhardt-Herms <oliver.geiselhardt-herms@sap.com>
pull/2058/head
Oliver Geiselhardt-Herms 3 years ago
parent
commit
cc4f13b369
  1. 4
      collector/ethtool_linux.go
  2. 2
      collector/ethtool_linux_test.go

4
collector/ethtool_linux.go

@ -27,8 +27,8 @@ import (
"sort" "sort"
"syscall" "syscall"
"github.com/go-kit/kit/log" "github.com/go-kit/log"
"github.com/go-kit/kit/log/level" "github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/procfs/sysfs" "github.com/prometheus/procfs/sysfs"
"github.com/safchain/ethtool" "github.com/safchain/ethtool"

2
collector/ethtool_linux_test.go

@ -23,7 +23,7 @@ import (
"syscall" "syscall"
"testing" "testing"
"github.com/go-kit/kit/log" "github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
) )

Loading…
Cancel
Save