update workerNodeList after sorting

pull/2849/head
Hanefi Onaldi 2019-07-23 14:34:48 +03:00 committed by Philip Dubé
parent 6c5866cc4d
commit 8127297999
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ MetadataCreateCommands(void)
bool includeSequenceDefaults = true;
/* make sure we have deterministic output for our tests */
SortList(workerNodeList, CompareWorkerNodes);
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
/* generate insert command for pg_dist_node table */
nodeListInsertCommand = NodeListInsertCommand(workerNodeList);