Descriptionapi(server)/uniter: Fix (result, bool, error)
Change PublicAddress, PrivateAddress and CharmURL
to return (result, error) instead of (result, bool, error),
as discussed online, because since more than one
error can be returned the bool result is no longer
sufficient. Also, the first two calls where changed
at the server-side as well, while the last one
only at client-side for units, because for
services it has different semantics (the bool
means "forced" charm URL or not).
https://code.launchpad.net/~dimitern/juju-core/115-api-uniter-fix-result-ok-calls/+merge/183488
Requires: https://code.launchpad.net/~dimitern/juju-core/114-api-uniter-names-to-tags/+merge/183481
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : api(server)/uniter: Fix (result, bool, error) #
Total comments: 2
Patch Set 3 : api(server)/uniter: Fix (result, bool, error) #
MessagesTotal messages: 5
|