fixup! Unify shared code (and constants) with cindex package.
This commit is contained in:
@ -92,7 +92,7 @@ func migrateCommandFunc(cmd *cobra.Command, args []string) {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
readKeys(reader, be)
|
readKeys(reader, be)
|
||||||
cindex.UpdateConsistentIndex(be.BatchTx(), index)
|
cindex.UpdateConsistentIndex(be.BatchTx(), index, true)
|
||||||
err := <-errc
|
err := <-errc
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("failed to transform keys")
|
fmt.Println("failed to transform keys")
|
||||||
|
Reference in New Issue
Block a user