-
Notifications
You must be signed in to change notification settings - Fork 41
Screenboards unable to export #17
Copy link
Copy link
Open
Description
Timeboards seemed to export fine, though without the query part of it.
The problem is when exporting screenboards I get an error:
$ DATADOG_API_KEY=XXX DATADOG_APP_KEY=XXX ./dd2tf screenboards --ids 123
FATA[0000] json: cannot unmarshal string into Go struct field Screenboard.width of type int
Usage: ./dd2tf <subcommand> <subcommand_options>
where <subcommand> is one of: []
Environment variables DATADOG_API_KEY and DATADOG_APP_KEY are required
keys and id changed
I have built from master and the tagged version, same result.
Is something missing? The only thing that is not completely normal is this message during the install:
$ dep ensure
Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:
✗ gopkg.in/zorkian/go-datadog-api.v2
However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.
Either import/require packages from these projects so that they become direct
dependencies, or convert each [[constraint]] to an [[override]] to enforce rules
on these projects, if they happen to be transitive dependencies.
Sys info:
Linux thlarsen 4.18.0-18-generic #19-Ubuntu SMP Tue Apr 2 18:13:16 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
go version go1.12.5 linux/amd64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels