etcdctl: minor cleanup
This commit is contained in:
@ -41,7 +41,7 @@ func NewRemoveCommand() cli.Command {
|
||||
// removeCommandFunc executes the "rm" command.
|
||||
func removeCommandFunc(c *cli.Context, client *etcd.Client) (*etcd.Response, error) {
|
||||
if len(c.Args()) == 0 {
|
||||
return nil, errors.New("Key required")
|
||||
return nil, errors.New("key required")
|
||||
}
|
||||
key := c.Args()[0]
|
||||
recursive := c.Bool("recursive")
|
||||
|
Reference in New Issue
Block a user