Compare commits

...

1 Commits

Author SHA1 Message Date
Dora Korpar 800e7f3b41 bf: S3C 1635 bucketd healthcheck 2019-04-08 14:41:45 -07:00
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,11 @@ class BucketClientInterface {
// to inspect all the RaftSession's statuses to make sense of
// it:
return this.client.getAllRafts(undefined, (error, payload) => {
if (error) {
doFail = true;
reason.msg = 'could not retrieve Raft sessions';
return callback(doFail, reason);
}
let statuses = null;
try {
statuses = JSON.parse(payload);