hashicorp / faas-nomad

OpenFaaS plugin for Nomad
https://www.openfaas.com
MIT License
254 stars 46 forks source link

Build error "cannot use statsD" in "handlers/proxy.go:148:42" #81

Closed aramlow closed 5 years ago

aramlow commented 5 years ago

What are the steps to reproduce this issue?

  1. Clone the Git repo with go get github.com/hashicorp/faas-nomad
  2. run make build or make build_all

What happens?

The compile stops with the following error message:

# github.com/hashicorp/faas-nomad/handlers
handlers/proxy.go:148:42: cannot use statsD (type *"github.com/DataDog/datadog-go/statsd".Client) as type *"github.com/nicholasjackson/ultraclient/vendor/github.com/DataDog/datadog-go/statsd".Client in argument to ultraclient.NewDogStatsDWithClient

Any other comments?

I'd like to get the build working locally so I can add more constraints to the nomad provider as I need to be able to use node_class as a constraint to target specific Nomad agents.

What versions of software are you using?

Operating System: CentOS 7.5 Kernel 4.17

OpenFaaS Version: as per default in the faas-nomad repo

Nomad Version: 0.8.6