]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/mon: let reopen_session() return future<bool>
authorKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 10:53:48 +0000 (18:53 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 11:04:28 +0000 (19:04 +0800)
commit6b6537d5b15546f9d32ba8c7076c154a084e75a0
treefc5e40d1f059592193d2860b97c8c455a10677d6
parent3edaaab49337476c3851c749f0c06dfe3fe88650
crimson/mon: let reopen_session() return future<bool>

this change is for improve the readability. to emphasis that the
next steps are performed only if a connection to monitor is
established.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc
src/crimson/mon/MonClient.h