Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2051)

Issue 14543043: provider/maas: Handle ip_addresses not existing

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by gz
Modified:
10 years, 7 months ago
Reviewers:
mp+189847, fwereade, rog
Visibility:
Public.

Description

provider/maas: Handle ip_addresses not existing Older MAAS versions do not return the ip_addresses field in their instance json. Update the provider to not treat this as an error, but instead equivalent to having no further addresses beyond the seperately exposed DNS name. https://code.launchpad.net/~gz/juju-core/maas_missing_ip_addresses_1236734/+merge/189847 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -10 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M provider/maas/instance.go View 1 chunk +6 lines, -1 line 0 comments Download
M provider/maas/instance_test.go View 3 chunks +51 lines, -9 lines 1 comment Download

Messages

Total messages: 3
gz
Please take a look.
10 years, 7 months ago (2013-10-08 13:40:01 UTC) #1
rog
LGTM with one minor suggestion. https://codereview.appspot.com/14543043/diff/1/provider/maas/instance_test.go File provider/maas/instance_test.go (right): https://codereview.appspot.com/14543043/diff/1/provider/maas/instance_test.go#newcode90 provider/maas/instance_test.go:90: "DNS name", I'd prefer ...
10 years, 7 months ago (2013-10-08 13:50:14 UTC) #2
fwereade
10 years, 7 months ago (2013-10-08 13:51:23 UTC) #3
LGTM, thanks. Can you test this live?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b