Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ea2bffa0
Commit
ea2bffa0
authored
Jan 10, 2014
by
antirez
Browse files
Trip comment to 80 cols in SentinelCommand().
parent
bca65866
Changes
1
Show whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
ea2bffa0
...
@@ -2375,7 +2375,7 @@ void sentinelCommand(redisClient *c) {
...
@@ -2375,7 +2375,7 @@ void sentinelCommand(redisClient *c) {
return;
return;
addReplyDictOfRedisInstances(c,ri->sentinels);
addReplyDictOfRedisInstances(c,ri->sentinels);
} else if (!strcasecmp(c->argv[1]->ptr,"is-master-down-by-addr")) {
} else if (!strcasecmp(c->argv[1]->ptr,"is-master-down-by-addr")) {
/* SENTINEL IS-MASTER-DOWN-BY-ADDR <ip> <port> <current-epoch> <runid>
*/
/* SENTINEL IS-MASTER-DOWN-BY-ADDR <ip> <port> <current-epoch> <runid>*/
sentinelRedisInstance *ri;
sentinelRedisInstance *ri;
long long req_epoch;
long long req_epoch;
uint64_t leader_epoch = 0;
uint64_t leader_epoch = 0;
...
...
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