~axwalk/juju-core/environment-set-invalidenv

Viewing all changes in revision 2035.

  • Committer: Tarmac
  • Author(s): John Arbash Meinel
  • Date: 2013-11-06 13:36:47 UTC
  • mfrom: (2013.1.9 uniter-cached-addresses)
  • Revision ID: tarmac-20131106133647-m3s306xiysjiukns
[r=jameinel],[bug=1205371] state/apiserver/uniter: use cached APIAddresses

When Roger changed the common.Addresser code to use the cached
addresses, he missed the fact that Uniter had its own implementation.
This was because we weren't exposing StateAddress or CACert to the
Uniter. So this change moves the code around to share the common
APIAddresses method and uses it in the Uniter facade.

This also changes common.Addresser to be named common.StateAddresser
to make it clearer what is going on.

https://codereview.appspot.com/20940043/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: