From 07d420b75ee2f0be40ce8e1b6ccfcbe9535bbf8d Mon Sep 17 00:00:00 2001 From: nothatDinger <52913141+nothatDinger@users.noreply.github.com> Date: Thu, 18 Nov 2021 11:53:29 +0800 Subject: [PATCH] Update bootstrap.go (#309) fix typos --- kv/raftstore/bootstrap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kv/raftstore/bootstrap.go b/kv/raftstore/bootstrap.go index ac9ee63c..3d16a511 100644 --- a/kv/raftstore/bootstrap.go +++ b/kv/raftstore/bootstrap.go @@ -62,7 +62,7 @@ func BootstrapStore(engines *engine_util.Engines, clusterID, storeID uint64) err return nil } -func PrepareBootstrap(engins *engine_util.Engines, storeID, regionID, peerID uint64) (*metapb.Region, error) { +func PrepareBootstrap(engines *engine_util.Engines, storeID, regionID, peerID uint64) (*metapb.Region, error) { region := &metapb.Region{ Id: regionID, StartKey: []byte{}, @@ -78,7 +78,7 @@ func PrepareBootstrap(engins *engine_util.Engines, storeID, regionID, peerID uin }, }, } - err := PrepareBootstrapCluster(engins, region) + err := PrepareBootstrapCluster(engines, region) if err != nil { return nil, err }