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

Hide deprecated monitor summary widget params #403

Merged
merged 3 commits into from
Feb 4, 2020

Conversation

chrismdd
Copy link
Contributor

@chrismdd chrismdd commented Feb 4, 2020

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).

Copy link
Contributor

@enbashi enbashi left a 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?

Copy link
Contributor

@bkabrda bkabrda left a 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
Copy link
Contributor

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

@bkabrda
Copy link
Contributor

bkabrda commented Feb 4, 2020

LGTM now, merging. Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants