• Artem Barger's avatar
    [FAB-5499]: Flatten logic of gossip Peers API · 3e1a17ea
    Artem Barger authored
    Current implmenetaition makes use of discovery GetMembership API and
    iterates over to construct the result, while this is redundant, since we
    can return GetMembership result right away. This commit replace
    iteration with simply returning result of discovery service.
    Change-Id: Idd69acd08560e0fac84bae43cd8acd50e6d8bdd0
    Signed-off-by: default avatarArtem Barger <bartem@il.ibm.com>