-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws-autoscaling): allow minSize to be set to 0 (#1015)
Previously, minSize was being set to `props.minSize || 1`. Since 0 is falsey in javascript, this would mean 0 passed in through the ASG props evaluate to false and the field would always be set to the default value of 1. This change uses strict equality comparison to allow 0 to be set.
- Loading branch information
Showing
2 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters