redis-cli: update prompt on cluster redirection.
This commit is contained in:
parent
e0e15bd06d
commit
6b641f3aeb
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user