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

fix(aws): Fix Create Server Group button #9865

Merged

Conversation

sergio-quintero
Copy link
Contributor

This line defaults: { account?: string; region?: string; subnet?: string; mode?: string } = {} was not creating an empty object when buildNewServerGroupCommand() was being called, causing defaults to be null and break the whole function.

This adds the manual check and sets defaults to empty {}if it's null or undefined.

@dogonthehorizon dogonthehorizon added the ready to merge Reviewed and ready for merge label Jul 1, 2022
@mergify mergify bot added the auto merged Merged automatically by a bot label Jul 1, 2022
@mergify mergify bot merged commit bd937f9 into spinnaker:master Jul 1, 2022
@sergio-quintero
Copy link
Contributor Author

@Mergifyio backport release-1.28.x

mergify bot pushed a commit that referenced this pull request Jul 1, 2022
@mergify
Copy link
Contributor

mergify bot commented Jul 1, 2022

backport release-1.28.x

✅ Backports have been created

link108 added a commit that referenced this pull request Jul 6, 2022
Co-authored-by: Sergio Quintero <[email protected]>
Co-authored-by: Cameron Motevasselani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Reviewed and ready for merge target-release/1.29
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants