From 851584ff06f8c66f45188031c65bef01978b6112 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 4 May 2021 16:51:59 +0200 Subject: [PATCH] fixup! Unify shared code (and constants) with cindex package. --- etcdctl/ctlv3/command/migrate_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdctl/ctlv3/command/migrate_command.go b/etcdctl/ctlv3/command/migrate_command.go index deba3c2ffbaf..deb23fb4c2be 100644 --- a/etcdctl/ctlv3/command/migrate_command.go +++ b/etcdctl/ctlv3/command/migrate_command.go @@ -92,7 +92,7 @@ func migrateCommandFunc(cmd *cobra.Command, args []string) { }() readKeys(reader, be) - cindex.UpdateConsistentIndex(be.BatchTx(), index) + cindex.UpdateConsistentIndex(be.BatchTx(), index, true) err := <-errc if err != nil { fmt.Println("failed to transform keys")