Fix typo in redis-cli.c (#8772)

This commit is contained in:
Seunghyun Lee 2021-04-21 19:41:25 +09:00 committed by GitHub
parent bb16cf0f4f
commit 8636c3e003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3368,7 +3368,7 @@ cleanup:
/* Get the node the slot is assigned to from the point of view of node *n.
* If the slot is unassigned or if the reply is an error, return NULL.
* Use the **err argument in order to check wether the slot is unassigned
* Use the **err argument in order to check whether the slot is unassigned
* or the reply resulted in an error. */
static clusterManagerNode *clusterManagerGetSlotOwner(clusterManagerNode *n,
int slot, char **err)