mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
redis-cli: update prompt on cluster redirection.
This commit is contained in:
@ -533,6 +533,7 @@ static int cliReadReply(int output_raw_strings) {
|
|||||||
printf("-> Redirected to slot [%d] located at %s:%d\n",
|
printf("-> Redirected to slot [%d] located at %s:%d\n",
|
||||||
slot, config.hostip, config.hostport);
|
slot, config.hostip, config.hostport);
|
||||||
config.cluster_reissue_command = 1;
|
config.cluster_reissue_command = 1;
|
||||||
|
cliRefreshPrompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (output) {
|
if (output) {
|
||||||
|
Reference in New Issue
Block a user