]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon,mgr: improve 'mgr module disable/enable' cmds 21188/head
authorGu Zhongyan <guzhongyan@360.cn>
Tue, 3 Apr 2018 02:42:45 +0000 (10:42 +0800)
committerGu Zhongyan <guzhongyan@360.cn>
Mon, 23 Apr 2018 01:35:06 +0000 (09:35 +0800)
commita7677c76a54bdbc68ea9ba60efe7cec013d5afda
treef485534c5cb5b6f9a3968b7050340e7e206efd4d
parent4f73c6035a7a47e738896eb68cea7d00531ba357
mon,mgr: improve 'mgr module disable/enable' cmds

when running those cmds, check if the module do exist
or is disabled already.
also check if the module is enabled already.

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
src/mon/MgrMap.h
src/mon/MgrMonitor.cc