Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix fix screenboard #190

Merged
merged 5 commits into from Nov 3, 2018
Merged

Conversation

teraken0509
Copy link
Contributor

Issue https://github.com/terraform-providers/terraform-provider-datadog/issues/105

  • some screenboard fields are invalid from api response

    • Width
      • string -> int
    • Height
      • string -> int
  • Screen Widget json map is invalid

    • x and y are reversed

@zorkian zorkian merged commit ae3affd into zorkian:master Nov 3, 2018
@zorkian
Copy link
Owner

zorkian commented Nov 3, 2018

Thank you for fixing that, and derp on the X/Y thing. Nice.

@teraken0509
Copy link
Contributor Author

@zorkian
Thank you for merged.
I have few questions.

  • Is next release already scheduled?
  • Are these changes included to it?

@teraken0509 teraken0509 deleted the bugfix/fix-screenboard branch November 8, 2018 04:20
masterzen pushed a commit to masterzen/go-datadog-api that referenced this pull request Nov 16, 2018
Datadog API for screenboards width and height can return either numbers
, number (like “1024”) strings or even strings (like “100%”).
The recent fix zorkian#190 changed those fields to be only ints, breaking
the compatibility with some datadog screen boards.
As suggested in zorkian#192 this change fixes the issue by making the fields
become `json.Number` which should cover all possible returned values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants