Merge pull request #1368 from citusdata/fix_get_live_node_count

Fix list length lookup in WorkerGetLiveNodeCount
pull/1369/head
Marco Slot 2017-04-28 17:26:25 -07:00 committed by GitHub
commit e029724227
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ uint32
WorkerGetLiveNodeCount(void)
{
List *workerNodeList = ActiveWorkerNodeList();
uint32 liveWorkerCount = workerNodeList->length;
uint32 liveWorkerCount = list_length(workerNodeList);
return liveWorkerCount;
}