]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonMap: fix unconditional failure for init_with_hosts
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 22 Oct 2020 17:08:26 +0000 (10:08 -0700)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 19:10:05 +0000 (20:10 +0100)
commitbbba1fe7955ddc22e697a2d5cd5976e0f29f5aaa
tree03640ecc0f3a5634c467f8ea3b6c280bc2501827
parent95ec166d5b6efa8c00fbf5253997271999fef781
mon/MonMap: fix unconditional failure for init_with_hosts

This bug prevents setting mon_host to a DNS name.

Fixes: https://tracker.ceph.com/issues/47951
Fixes: 7a1f02acfe6b5d8a760efd16bb594a0656b39eac
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 21d9f8333b8c76979bbe90d60a8ad6ebb5e36c76)
src/mon/MonMap.cc
src/mon/MonMap.h