BUG-1495: fail future when no local RPC is found 83/9783/3
authorRobert Varga <rovarga@cisco.com>
Thu, 7 Aug 2014 12:15:45 +0000 (14:15 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 7 Aug 2014 15:02:54 +0000 (17:02 +0200)
Instead of checking state, we return a failed future, which will have a
RpcImplementationUnavailableException as its cause. The current call
site is the remote broker, which is the provider of last resort and it
throws it when it has no foreign system available.

Change-Id: Ib9d8534ca75e60f1867a7c275ee653a70dbd7a00
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found