diff options
author | Joao Eduardo Luis <joao.luis@inktank.com> | 2013-04-19 20:26:51 +0200 |
---|---|---|
committer | Joao Eduardo Luis <joao.luis@inktank.com> | 2013-04-19 20:26:51 +0200 |
commit | fa89cfd2e4ccb8a80666ac1c8aeea91717fdb2e9 (patch) | |
tree | 90eb4b48c2b91ef0db9bd7a4a25d297e268b2889 /src/mon/DataHealthService.h | |
parent | config: clarify 'mon osd down out subtree limit' (diff) | |
download | ceph-fa89cfd2e4ccb8a80666ac1c8aeea91717fdb2e9.tar.xz ceph-fa89cfd2e4ccb8a80666ac1c8aeea91717fdb2e9.zip |
mon: QuorumService: return health status on get_health()
This allows us to return the appropriate overall health status on
Monitor::get_health().
Fixes: 4574
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Diffstat (limited to 'src/mon/DataHealthService.h')
-rw-r--r-- | src/mon/DataHealthService.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/DataHealthService.h b/src/mon/DataHealthService.h index de7ab0ac258..c94327f3129 100644 --- a/src/mon/DataHealthService.h +++ b/src/mon/DataHealthService.h @@ -75,7 +75,7 @@ public: start_tick(); } - virtual void get_health(Formatter *f, + virtual health_status_t get_health(Formatter *f, list<pair<health_status_t,string> > *detail); virtual int get_type() { |