Skip to content

Commit

Permalink
Merge pull request #142 from pingcap/shenli/auto-balance
Browse files Browse the repository at this point in the history
server: Fix transfer leader log error
  • Loading branch information
shenli committed Jun 8, 2016
2 parents 5fbecaa + 2a6452d commit d6c5163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (lto *TransferLeaderOperator) check(region *metapb.Region, leader *metapb.P
return true, nil
}

log.Infof("balance [%s], try to transfer leader from %s to %s", region, lto.oldLeader, leader)
log.Infof("balance [%s], try to transfer leader from %s to %s", region, lto.oldLeader, lto.newLeader)
return false, nil
}

Expand Down

0 comments on commit d6c5163

Please sign in to comment.