Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Update gomaasapi to fix nil reference panic #5271
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
Oops, the type of BlockDevice.Size() changed to unit64, updated tests and reran. |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit b4921bf
into
juju:master
Apr 25, 2016
babbageclunk
deleted the
babbageclunk:nil-subnet
branch
Apr 25, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
babbageclunk commentedApr 25, 2016
This fixes the panic in https://bugs.launchpad.net/juju-core/+bug/1573659 - interface nil values were being returned as typed nils and so the nil check for link.Subnet() in maas2NetworkInterfaces wasn't working as intended.
Confirmed that with this change I can now bootstrap to a machine with an unconfigured NIC such that link.Subnet() is nil.
(Review request: http://reviews.vapour.ws/r/4696/)