Skip to content

Commit

Permalink
fix ret
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcchen committed Jan 5, 2017
1 parent c14e582 commit 1da3381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phxbinlogsvr/core/monitor/agent_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int AgentMonitor::CheckRunning() {
if (read_only == "OFF") {
if (is_master) {
MasterInfo master_info;
int ret = master_manager_->GetMasterInfo(&master_info);
ret = master_manager_->GetMasterInfo(&master_info);
if (ret == OK) {
if (master_info.export_ip().empty()) {
//master is running?
Expand Down

0 comments on commit 1da3381

Please sign in to comment.