commit | 612977a9b825c9ed0186605aa79eb105ee2b2ad2 | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Thu Apr 27 17:25:16 2017 +0200 |
committer | Hugo Arès <hugo.ares@ericsson.com> | Fri Apr 28 12:21:27 2017 +0200 |
tree | 2bd9b6f44541e3123a3c6590f24d8c8c02b081a0 | |
parent | a3fb40a4a6a98d23e56d9a2abcb929914e23517e [diff] |
Don't perform REST calls when remote PeerInfo not available Replace PeerInfo with Optional<PeerInfo>. When the PeerInfo value is not available don't even try sending REST calls. Assuming we are going to implement automatic remote peer discovery the remote peer info may be unavailable when the remote peer is shut down. Change-Id: I8a4667328eedbab393ae672f54a8c2aef6c639ca