-
Notifications
You must be signed in to change notification settings - Fork 902
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 IPv6 addresses being incorrectly associated when cloning server groups that have launch templates enabled (#6979) #10142
Conversation
…g server groups that have launch templates enabled (spinnaker#6979)
45391e8
to
05edb86
Compare
Thanks for this @ashleykleynhans . I suspect this is the right fix. What's involved in writing an automated test to demonstrate the bug + fix? |
@dbyron-sf unfortunately I have no idea, frontend is not one of my strengths, I am a backend person. This bug has just not been fixed in about 2 years so I figured nobody is going to fix it and had to fix it myself. |
Fair enough. I had to ask :) |
There may already be some kind of test for it, because my first attempt failed a test and I had to make a change to get it to pass the test. |
@Mergifyio backport release-1.35.x |
✅ Backports have been created
|
…g server groups that have launch templates enabled (#6979) (#10142) (#10144) (cherry picked from commit 22818c6) Co-authored-by: Ashley Kleynhans <[email protected]>
This is a fix for #6979.
The IPv6 checkbox was previously checked when it should not have been.
This line:
Was casting the entire object below to Boolean, which ALWAYS resulted in a value of
true
:The change casts the value of
ipv6AddressCount
within the object to Boolean instead of the object itself.