Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

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

Closed
aramlow opened this issue May 27, 2019 · 0 comments
Closed

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

aramlow opened this issue May 27, 2019 · 0 comments

Comments

@aramlow
Copy link

aramlow commented May 27, 2019

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

@aramlow aramlow closed this as completed May 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant