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

Add default to deprecated count field to avoid sending 0 #514

Merged
merged 1 commit into from
May 12, 2020

Conversation

zippolyte
Copy link
Contributor

The count field is set to 0 by terraform if not set, which prevents the widget from getting any data.
Since this field is marked as deprecated, it is not expected to be set, so having a default makes sense.

@ghost ghost added the size/XS label May 12, 2020
@gzussa gzussa merged commit 39c5e27 into master May 12, 2020
@gzussa gzussa deleted the zippolyte-patch-1 branch May 12, 2020 15:24
@terrificsoysauce
Copy link

I see that the default value is 50. Does it mean that if the monitor summary has 50+ monitors, it won't display the overage?

@bkabrda
Copy link
Contributor

bkabrda commented Jul 15, 2020

@terrificsoysauce so the widget has two sections - "Counts" and "List" (you can display them both or just one of them). The "Counts" section doesn't get affected by this setting, but the "List" does - it will indeed only display at max 50 monitors (using the default) even if there are more.

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

Successfully merging this pull request may close these issues.

4 participants