1
0
Fork 0

Improve error handling.

This commit is contained in:
Max Neunhoeffer 2016-06-06 13:27:11 +02:00
parent 3dfecf8293
commit fa3fede21f
1 changed files with 1 additions and 1 deletions

View File

@ -2074,7 +2074,7 @@ void ClusterInfo::loadCurrentCoordinators() {
result.slice()[0].get(std::vector<std::string>(
{AgencyComm::prefix(), "Current", "Coordinators"}));
if (!currentCoordinators.isNone()) {
if (currentCoordinators.isObject()) {
decltype(_coordinators) newCoordinators;
for (auto const& coordinator : VPackObjectIterator(currentCoordinators)) {