Fix build bug

This commit is contained in:
yulai.li
2021-08-26 16:20:35 +08:00
parent 2088f28424
commit 546efeba8f
5 changed files with 85 additions and 10 deletions

View File

@@ -30,6 +30,9 @@ func (store *TikvStore) KvGet(ctx context.Context, key []byte) ([]byte, error) {
}
return err
})
if isNotExists(err) {
return data, filer.ErrKvNotFound
}
return data, err
}