juju/juju — pull request #208 by TheMue (2014-07-01 09:50:35+00:00)
Title: api-endpoints only first public address

Currently the command api-endpoints returns all addresses. Wanted is a compatible behavior with older releases returning only one address of the API server the command connected to. This is defined by the API to be always the first of the returned addresses.

Currently the test environment only returns one local address. A more complex test simulating multiple API servers will be added later in an extra change.