From c43e59338ff99430107d6a105ae78a2111b0f0aa Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Sun, 29 May 2016 15:11:29 -0700 Subject: [PATCH] etcdctl/ctlv3: remove mvccpb.EXPIRE in mirror cmd --- etcdctl/ctlv3/command/make_mirror_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdctl/ctlv3/command/make_mirror_command.go b/etcdctl/ctlv3/command/make_mirror_command.go index 44c848385..1be605cde 100644 --- a/etcdctl/ctlv3/command/make_mirror_command.go +++ b/etcdctl/ctlv3/command/make_mirror_command.go @@ -128,7 +128,7 @@ func makeMirror(ctx context.Context, c *clientv3.Client, dc *clientv3.Client) er case mvccpb.PUT: ops = append(ops, clientv3.OpPut(string(ev.Kv.Key), string(ev.Kv.Value))) atomic.AddInt64(&total, 1) - case mvccpb.DELETE, mvccpb.EXPIRE: + case mvccpb.DELETE: ops = append(ops, clientv3.OpDelete(string(ev.Kv.Key))) atomic.AddInt64(&total, 1) default: