-
Notifications
You must be signed in to change notification settings - Fork 389
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
Hide deprecated monitor summary widget params #403
Hide deprecated monitor summary widget params #403
Conversation
…s and deprecate them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should remove the deprecated params from the example in the docs too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sending the PR. As I noted inline, let's provide a Deprecated
field for the two attributes. Thanks!
@@ -2355,10 +2355,12 @@ func getManageStatusDefinitionSchema() map[string]*schema.Schema { | |||
Type: schema.TypeString, | |||
Optional: true, | |||
}, | |||
// The count param is deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add the Deprecated
attribute to these two? https://godoc.org/github.com/hashicorp/terraform/helper/schema#Schema
LGTM now, merging. Thanks for the PR! |
Remove the count and start monitor summary widget params from the docs and deprecate them.
While these params are still supported (and will continue to be), they don't appear to be used by anyone and we don't know of any use cases for them, so we should remove them from the docs to avoid confusion.
Related: https://github.com/terraform-providers/terraform-provider-datadog/pull/300 (the
sort
param does have use cases so we're adding it to the docs here: DataDog/documentation#6568).