]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: fix sending mon command to a specific rank
authorSage Weil <sage@redhat.com>
Wed, 2 Oct 2019 22:33:03 +0000 (17:33 -0500)
committerSage Weil <sage@redhat.com>
Fri, 4 Oct 2019 14:07:03 +0000 (09:07 -0500)
commitdbb53e68c4b066dfd2dbad411583701ee2ab2985
tree2af365a641e8283ff229e939acb5954a7458623c
parentcc8bd47824dd4b8a5d4433bc02f826664c05154b
mon/MonClient: fix sending mon command to a specific rank

The target_name check was triggering when target_name was empty (and
target_rank >= 0).

Fixes 4ef0502da5e

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonClient.cc