fix(raftstore): fix typo (#354)

This commit is contained in:
Jiarui Li 2021-12-20 02:59:35 -05:00 committed by GitHub
parent e4cdc05319
commit 43e37c16f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ func BootstrapStore(engines *engine_util.Engines, clusterID, storeID uint64) err
return err
}
if !empty {
return errors.New("kv store is not empty and ahs alread had data.")
return errors.New("kv store is not empty and has already had data.")
}
empty, err = isRangeEmpty(engines.Raft, meta.MinKey, meta.MaxKey)
if err != nil {