doc: correct getClusterNodes() summary

This commit is contained in:
Michael Vines 2019-04-24 08:23:10 -07:00
parent 1719b74102
commit 2292b5910e

View File

@ -385,7 +385,7 @@ export class Connection {
} }
/** /**
* Fetch the current slot leader of the cluster * Return the list of nodes that are currently participating in the cluster
*/ */
async getClusterNodes(): Promise<Array<ContactInfo>> { async getClusterNodes(): Promise<Array<ContactInfo>> {
const unsafeRes = await this._rpcRequest('getClusterNodes', []); const unsafeRes = await this._rpcRequest('getClusterNodes', []);