Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@teraken0509 teraken0509 force-pushed the bugfix/fix-screenboard branch from 643a7df to 2a11dc6 Compare October 31, 2018 05:21
@teraken0509 teraken0509 force-pushed the bugfix/fix-screenboard branch from 2a11dc6 to 291e198 Compare November 1, 2018 01:38
@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.

2 participants