Fix typo in sentinel.c (#8600)

This commit is contained in:
yanchaozhong 2021-03-06 01:32:11 +08:00 committed by GitHub
parent 55c74617d7
commit 3d9c6a7ce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1732,7 +1732,7 @@ char *sentinelGetInstanceTypeString(sentinelRedisInstance *ri) {
* with CONFIG and SLAVEOF commands renamed for security concerns. In that
* case we check the ri->renamed_command table (or if the instance is a slave,
* we check the one of the master), and map the command that we should send
* to the set of renamed commads. However, if the command was not renamed,
* to the set of renamed commands. However, if the command was not renamed,
* we just return "command" itself. */
char *sentinelInstanceMapCommand(sentinelRedisInstance *ri, char *command) {
sds sc = sdsnew(command);