diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-12-15 09:35:47 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-12-15 09:35:47 +0100 |
commit | f0d9a01bccdaeb466c12c92057914bbfef59526c (patch) | |
tree | 7679efa1f0daf7d1d906882a15dc77af6b7aef32 /db/repl/health.cpp | |
parent | 5d342a758c6095b4d30aba0750b54f13b8916f51 (diff) | |
download | mongodb-f0d9a01bccdaeb466c12c92057914bbfef59526c.tar.gz |
Imported Upstream version 2.0.2
Diffstat (limited to 'db/repl/health.cpp')
-rw-r--r-- | db/repl/health.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/repl/health.cpp b/db/repl/health.cpp index 711b457..7e5a39f 100644 --- a/db/repl/health.cpp +++ b/db/repl/health.cpp @@ -402,6 +402,11 @@ namespace mongo { string s = m->lhb(); if( !s.empty() ) bb.append("errmsg", s); + + if (m->hbinfo().authIssue) { + bb.append("authenticated", false); + } + v.push_back(bb.obj()); m = m->next(); } |