~jameinel/juju-core/login-returns-env-tag

Viewing all changes in revision 2800.

  • Committer: John Arbash Meinel
  • Date: 2014-05-27 06:39:05 UTC
  • Revision ID: john@arbash-meinel.com-20140527063905-qhdkcpv3h20phcp1
Fix another edge case.

Our test suite doesn't always have APIHostPorts available, because we don't
always have a machine-0. In those cases, we can get an EnvironTag but not
have any addresses to connect to. We don't want to end up setting the
connection addresses to the empty list, and make it hard to actually
connect to the environment.
Add a test, move where we set addrs to only set it when they have changed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: