zorkian / go-datadog-api

A Go implementation of the Datadog API.
BSD 3-Clause "New" or "Revised" License
183 stars 156 forks source link

Submit custom_fg_color instead of color #260

Closed nmuesch closed 5 years ago

nmuesch commented 5 years ago

The conditional formats section of screenboards should submit a field called custom_fg_color instead of color. Docs - https://docs.datadoghq.com/graphing/graphing_json/widget_json/#conditional-format-schema

Should still be backwards compatible since I left the struct alone and only changed what its un-marshalled as.

bkabrda commented 5 years ago

LGTM, merging. Thanks for the PR!