Skip to content

Commit

Permalink
bugfix configurable make slave-priority configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Leviathan1995 committed Mar 19, 2018
1 parent 8712df7 commit 50fa660
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 @@ -1243,7 +1243,7 @@ void ConfigCmd::ConfigGet(std::string &ret) {
EncodeString(&ret, g_pika_conf->network_interface());
EncodeString(&ret, "slaveof");
EncodeString(&ret, g_pika_conf->slaveof());
EncodeString(&ret, "slaveof-priority");
EncodeString(&ret, "slave-priority");
EncodeInt32(&ret, g_pika_conf->slave_priority());
} else {
ret = "*0\r\n";
Expand Down

0 comments on commit 50fa660

Please sign in to comment.