Skip to content

Commit

Permalink
etcdctl: print "del" instead of "delete" in txn interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fanminshi committed Jul 21, 2017
1 parent 2eb9353 commit bb0e144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etcdctl/ctlv3/command/txn_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ func txnCommandFunc(cmd *cobra.Command, args []string) {
txn := mustClientFromCmd(cmd).Txn(context.Background())
promptInteractive("compares:")
txn.If(readCompares(reader)...)
promptInteractive("success requests (get, put, delete):")
promptInteractive("success requests (get, put, del):")
txn.Then(readOps(reader)...)
promptInteractive("failure requests (get, put, delete):")
promptInteractive("failure requests (get, put, del):")
txn.Else(readOps(reader)...)

resp, err := txn.Commit()
Expand Down

0 comments on commit bb0e144

Please sign in to comment.