summaryrefslogtreecommitdiffstats
path: root/src/mon/MgrMap.h
diff options
context:
space:
mode:
authorJohn Spray <john.spray@redhat.com>2017-11-16 22:30:39 +0100
committerJohn Spray <john.spray@redhat.com>2018-01-24 19:08:20 +0100
commit712ad57d09a2a96dc1e21cd245fbf1a6372867ba (patch)
treecbbba6aa37407358fabad19b5cfdb2f9908508f6 /src/mon/MgrMap.h
parentmgr: load all modules (not just active ones) (diff)
downloadceph-712ad57d09a2a96dc1e21cd245fbf1a6372867ba.tar.xz
ceph-712ad57d09a2a96dc1e21cd245fbf1a6372867ba.zip
mgr: evaluate `can_run` method on modules
...and transmit the result to the monitor in our beacon. Fixes: http://tracker.ceph.com/issues/21502 Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to 'src/mon/MgrMap.h')
-rw-r--r--src/mon/MgrMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MgrMap.h b/src/mon/MgrMap.h
index 79d5b3b0c22..15d5c0cb291 100644
--- a/src/mon/MgrMap.h
+++ b/src/mon/MgrMap.h
@@ -28,7 +28,7 @@ public:
std::set<std::string> available_modules;
StandbyInfo(uint64_t gid_, const std::string &name_,
- std::set<std::string>& am)
+ const std::set<std::string>& am)
: gid(gid_), name(name_), available_modules(am)
{}