Descriptionstate: implement SetAPIAddresses
We need this so that agents can watch a single
document to see when API addresses change.
As with the stateServers document, we create it
at Open time if it doesn't already exist.
Also fix some existing issues with InitializeSuite - it
shouldn't really call Open before Initialize, even though
that's something that Initialize does internally.
Also fix one bug - Initialize was creating the stateServers
document with the wrong key (blank). Luckily
the impact of the bug is small because Open will have
already created the document.
https://code.launchpad.net/~rogpeppe/juju-core/517-state-set-api-addresses-2/+merge/211356
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state: implement SetAPIAddresses #
MessagesTotal messages: 2
|