mirror of https://gitee.com/bigwinds/arangodb
Improve error handling.
This commit is contained in:
parent
3dfecf8293
commit
fa3fede21f
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue