sapcc / mosquitto-exporter

Prometheus metrics exporter for the Mosquitto message broker
Apache License 2.0
128 stars 60 forks source link

github.com/codegangsta/cli seems to be missing in vendor #3

Closed olcai closed 7 years ago

olcai commented 7 years ago

Hi and thank you for the exporter!

I'm trying to build it with the Nix package manager, and it seems to me (a Go novice) that the vendor/ directory is missing something. I get the following while building:

go/src/github.com/sapcc/mosquitto-exporter/main.go:12:2: cannot find package "github.com/codegangsta/cli" in any of:
        /tmp/nix-build-mosquitto_exporter-v0.2.0.drv-0/go/src/github.com/sapcc/mosquitto-exporter/vendor/github.com/codegangsta/cli (vendor tree)

Is this just me missing something silly, or should the github.com/codegangsta/cli be present in vendor/?

auhlig commented 7 years ago

Better with a20a66e0bcfd40f4b664432ad12eae9ef39e6a2b @olcai?

olcai commented 7 years ago

@auhlig: yes, it builds now. Thank you!