Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3d9c6a7c
Unverified
Commit
3d9c6a7c
authored
Mar 06, 2021
by
yanchaozhong
Committed by
GitHub
Mar 05, 2021
Browse files
Fix typo in sentinel.c (#8600)
parent
55c74617
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
3d9c6a7c
...
...
@@ -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 comma
n
ds. However, if the command was not renamed,
* we just return "command" itself. */
char
*
sentinelInstanceMapCommand
(
sentinelRedisInstance
*
ri
,
char
*
command
)
{
sds
sc
=
sdsnew
(
command
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment