Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

kvexpress fails to build #100

Closed
isavcic opened this issue Apr 5, 2017 · 3 comments
Closed

kvexpress fails to build #100

isavcic opened this issue Apr 5, 2017 · 3 comments

Comments

@isavcic
Copy link
Contributor

isavcic commented Apr 5, 2017

# docker run --rm -v "$PWD":/go/bin/ golang:1.8 go get -u github.com/DataDog/kvexpress
# github.com/DataDog/kvexpress/commands
src/github.com/DataDog/kvexpress/commands/datadog.go:229: cannot use title (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:229: cannot use value (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:229: cannot use "error" (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:242: cannot use title (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:242: cannot use value (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:242: cannot use "error" (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:255: cannot use title (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:255: cannot use value (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:255: cannot use "info" (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:270: cannot use title (type string) as type *string in field value
src/github.com/DataDog/kvexpress/commands/datadog.go:270: too many errors
@darron
Copy link
Contributor

darron commented Apr 5, 2017

Looks like the underlying library has been modified a bit:

https://github.com/zorkian/go-datadog-api

If it went back to the v1 version of the library that should fix it.

@isavcic
Copy link
Contributor Author

isavcic commented Apr 5, 2017

Indeed, thanks!

By replacing "github.com/zorkian/go-datadog-api" with "gopkg.in/zorkian/go-datadog-api.v1" in commands/*.go files I got it to build successfully.

@darron
Copy link
Contributor

darron commented Apr 25, 2017

Closed by #101

@darron darron closed this as completed Apr 25, 2017
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

2 participants