gen2brain / keepalived_exporter

Keepalived Prometheus Exporter
Apache License 2.0
46 stars 14 forks source link

getting compilation error #7

Closed raffaelespazzoli closed 4 years ago

raffaelespazzoli commented 4 years ago
go get -u github.com/gen2brain/keepalived_exporter
go: finding github.com/gen2brain/keepalived_exporter latest
go: downloading github.com/gen2brain/keepalived_exporter v0.0.0-20191101232130-385bba60e832
go: extracting github.com/gen2brain/keepalived_exporter v0.0.0-20191101232130-385bba60e832
go: downloading github.com/docker/libnetwork v0.8.0-dev.2.0.20191022201816-571783238bee
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: extracting github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d
go: downloading github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4
go: extracting github.com/docker/libnetwork v0.8.0-dev.2.0.20191022201816-571783238bee
go: extracting github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d
go: downloading github.com/go-ole/go-ole v1.2.4
go: extracting github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4
go: downloading github.com/vishvananda/netlink v1.0.0
go: downloading github.com/vishvananda/netns v0.0.0-20190625233234-7109fa855b0f
go: extracting github.com/go-ole/go-ole v1.2.4
go: extracting github.com/vishvananda/netlink v1.0.0
go: extracting github.com/vishvananda/netns v0.0.0-20190625233234-7109fa855b0f
go: finding golang.org/x/sys latest
go: finding github.com/StackExchange/wmi latest
go: finding github.com/shirou/w32 latest
go: finding github.com/cespare/xxhash/v2 v2.1.1
go: finding github.com/vishvananda/netlink v1.1.0
go: finding github.com/prometheus/client_golang v1.3.0
go: finding github.com/prometheus/client_model v0.1.0
go: finding github.com/prometheus/procfs v0.0.8
go: finding github.com/docker/libnetwork v0.5.6
go: finding github.com/vishvananda/netns latest
go: finding github.com/docker/libnetwork v0.8.0-dev.2.0.20191022201816-571783238bee
go: finding github.com/prometheus/common v0.8.0
go: finding github.com/shirou/gopsutil v2.19.12+incompatible
go: downloading github.com/prometheus/client_golang v1.3.0
go: downloading github.com/shirou/gopsutil v2.19.12+incompatible
go: downloading github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df
go: downloading github.com/vishvananda/netlink v1.1.0
go: extracting github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df
go: extracting github.com/prometheus/client_golang v1.3.0
go: downloading github.com/prometheus/client_model v0.1.0
go: downloading github.com/prometheus/common v0.8.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: extracting github.com/shirou/gopsutil v2.19.12+incompatible
go: extracting github.com/prometheus/client_model v0.1.0
go: extracting github.com/vishvananda/netlink v1.1.0
go: extracting github.com/prometheus/common v0.8.0
go: extracting github.com/cespare/xxhash/v2 v2.1.1
go: extracting github.com/prometheus/procfs v0.0.8
# github.com/docker/libnetwork/ipvs
../../../../pkg/mod/github.com/docker/libnetwork@v0.8.0-dev.2.0.20191022201816-571783238bee/ipvs/netlink.go:220:13: assignment mismatch: 2 variables but s.Receive returns 3 values

Should I get a specific version?

gen2brain commented 4 years ago

I could not reproduce this issue, even with clean modules dir, anyway now moby/ipvs repo is used for ipvs so there should be no issues anymore.