~gz/juju-core/gosshnew_1312940

Viewing all changes in revision 2665.

[r=jameinel],[bug=1311089] state/apiserver/client/client.go: default series

Change the unspecified 'series' to match the existing state server
series, rather than PreferredSeries (which is default-series if it
exists, or LatestLTSSeries otherwise).
This addresses bug #1311089, which makes "juju ensure-availability"
bring up more machines that match the state-server that is already
running.
We probably still want to fix bug #1308966, which is about how we
determine PreferredSeries, but this seems a more direct "when creating
more machines like X, prefer them to look like X".

https://codereview.appspot.com/90200045/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: