Browse Source

etcdctl/ctlv3: remove mvccpb.EXPIRE in mirror cmd

Gyu-Ho Lee 9 years ago
parent
commit
c43e59338f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdctl/ctlv3/command/make_mirror_command.go

+ 1 - 1
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: