Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws): correctly find ancestor for restoring min capacity (#3731)
If a user specified 'do not use source capacity' and has several deploy stages in a row (and at least one of the first stages does not have 'do not use source capacity' set) When we restore capacity (which we shouldn't even need to do anyway) for one of the `do not use source capacity` ASGs we will look up the wrong ASG causing an erroneous error message to be logged. This change only considers stages that are part of this deploy chain (as opposed to including all stages which are requisite to the current one). Also, make the warn a info since it's expected when there is no snapshot capacity captured Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information