]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: restore mgr command lookup so that we can still proxy to mgr
authorSage Weil <sage@redhat.com>
Wed, 19 Jul 2017 20:58:14 +0000 (16:58 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 19 Jul 2017 21:21:24 +0000 (17:21 -0400)
commite07a84a01fb4b335d569b5e8e7e0287201a1a58e
treecd8faba415de67fce9b92369d40f3585e82b6ee8
parent3e89e324551d4930855e75ebae75a8f9730f5706
mon: restore mgr command lookup so that we can still proxy to mgr

Since mgr commands aren't in the main mon_commands array now, we need to
explicitly look up commands there too.  This restores the behavior
implemented below in which we forward misdirected mgr commands to the mon.

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