get_leader_supported_commands is unused, delete it
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
*cmds = mon_commands;
*count = ARRAY_SIZE(mon_commands);
}
-void Monitor::get_leader_supported_commands(const MonCommand **cmds, int *count)
-{
- *cmds = leader_supported_mon_commands;
- *count = leader_supported_mon_commands_size;
-}
void Monitor::get_classic_monitor_commands(const MonCommand **cmds, int *count)
{
*cmds = classic_mon_commands;
bufferlist *rdata);
void get_locally_supported_monitor_commands(const MonCommand **cmds, int *count);
void get_classic_monitor_commands(const MonCommand **cmds, int *count);
- void get_leader_supported_commands(const MonCommand **cmds, int *count);
/// the Monitor owns this pointer once you pass it in
void set_leader_supported_commands(const MonCommand *cmds, int size);
static bool is_keyring_required();