newrelic / newrelic-client-go

New Relic Client for the Go programming language
https://newrelic.github.io/observability-as-code
Apache License 2.0
75 stars 95 forks source link

fix(dashboard): changing legend_enabled/legend field to pointer type #1207

Closed vinay-newrelic closed 3 months ago

vinay-newrelic commented 3 months ago

Currently, if user send the value for legend_enabled as false while creating dashboards, that is currently being ignored, and the default value of true is being used. Fixed it by changing the boolean field to a pointer.

Fixes https://github.com/newrelic/terraform-provider-newrelic/issues/2736