-
Notifications
You must be signed in to change notification settings - Fork 908
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
Fixes KeyError for bridge with no "parameters:" setting #423
Conversation
Note: commit ded1ec8 did include a test case, but didn't test the case where no "parameters:" were provided. I don't have an environment set up to be able to run the test suite for cloud-init, but someone might want to add the missing test case. |
CLA now signed |
Thank you so much, rerunning the travis checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution and for signing the CLA!
One final step in signing the CLA is to add your name (alphabetically please!) to the CLA signers file located at tools/.github-cla-signers . It can be added in this PR.
Yes, it is a good idea to add an additional test case for this fix, but a local environment is not necessary for unit testing. Tests will be run when you push a new commit on this PR. If you use the test you linked to in ded1ec8 , it should be possible to create a new test using the same format.
aa0ec2f
to
407247b
Compare
407247b
to
0f36b3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! We should be able to get this committed soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 and validated that CLA is signed.
LP #1879673
Reason: commit ded1ec8 introduced a regression whereby a bridge with no "parameters:" setting caused a KeyError exception.