Descriptionprovider/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.
Cherrypicked fix from trunk to the 1.16 branch.
https://code.launchpad.net/~gz/juju-core/1.16_maas_missing_ip_addresses_1236734/+merge/189899
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|