Skip to content

Commit

Permalink
bugfix for (config get *)
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelMaker committed Dec 5, 2017
1 parent 98d5c32 commit 323f9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ void ConfigCmd::ConfigGet(std::string &ret) {
EncodeString(&ret, "slaveof");
EncodeString(&ret, g_pika_conf->slaveof());
} else if (get_item == "*") {
ret = "*82\r\n";
ret = "*84\r\n";
EncodeString(&ret, "port");
EncodeInt32(&ret, g_pika_conf->port());
EncodeString(&ret, "double-master-ip");
Expand Down

0 comments on commit 323f9bb

Please sign in to comment.