]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add helper for emitting logs by health status
authorJohn Spray <john.spray@redhat.com>
Fri, 1 Sep 2017 09:33:16 +0000 (05:33 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 1 Sep 2017 09:53:13 +0000 (05:53 -0400)
commit618a27868d65aa152ac67cce8057a75c4d61def9
tree67c333b2aaa057f194dba3fd8c85e4e015b114ad
parentdd4cc66673df048d0840d31fb0bacc514ad481df
mon: add helper for emitting logs by health status

We were starting to repeat our little "if(status==HEALTH_ERR"
blocks in too many places.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/LogClient.h
src/mon/Monitor.cc