diff options
author | John Spray <john.spray@redhat.com> | 2017-11-16 22:30:39 +0100 |
---|---|---|
committer | John Spray <john.spray@redhat.com> | 2018-01-24 19:08:20 +0100 |
commit | 712ad57d09a2a96dc1e21cd245fbf1a6372867ba (patch) | |
tree | cbbba6aa37407358fabad19b5cfdb2f9908508f6 /src/mon/MgrMap.h | |
parent | mgr: load all modules (not just active ones) (diff) | |
download | ceph-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.h | 2 |
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) {} |