tiny change for comment

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
This commit is contained in:
Connor1996 2020-04-23 17:48:15 +08:00 committed by Connor
parent c303272f5d
commit 2dad6f81cb

View File

@ -218,7 +218,7 @@ func (d *storeWorker) maybeCreatePeer(regionID uint64, msg *rspb.RaftMessage) (b
if err != nil {
return false, err
}
// following snapshot may overlap, should insert into region_ranges after
// following snapshot may overlap, should insert into regionRanges after
// snapshot is applied.
meta.regions[regionID] = peer.Region()
d.ctx.router.register(peer)