CG: More specific duplicated group error.

This commit is contained in:
antirez
2018-02-16 11:55:51 +01:00
parent 9f60a6bcee
commit c9d86c2b16
2 changed files with 13 additions and 1 deletions

View File

@ -1391,7 +1391,8 @@ NULL
if (cg) {
addReply(c,shared.ok);
} else {
addReplyError(c,"Consumer Group name already exists");
addReplySds(c,
sdsnew("-BUSYGROUP Consumer Group name already exists\r\n"));
}
} else if (!strcasecmp(opt,"SETID") && c->argc == 5) {
} else if (!strcasecmp(opt,"DELGROUP") && c->argc == 4) {