From 90e63ca22ad25369a0e0849cde6958c39cd51360 Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Thu, 15 Oct 2015 09:41:06 +0530 Subject: [PATCH] Removes --name argument from zone set command Change-Id: Idb34853dd72d094fbe4f15140fdc2803b689b136 Closes-Bug: #1504494 --- designateclient/v2/cli/zones.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/designateclient/v2/cli/zones.py b/designateclient/v2/cli/zones.py index 855941d..46aed27 100644 --- a/designateclient/v2/cli/zones.py +++ b/designateclient/v2/cli/zones.py @@ -131,7 +131,6 @@ class SetZoneCommand(show.ShowOne): parser = super(SetZoneCommand, self).get_parser(prog_name) parser.add_argument('id', help="Zone ID") - parser.add_argument('--name', help="Zone Name") parser.add_argument('--email', help="Zone Email") parser.add_argument('--ttl', type=int, help="Time To Live (Seconds)") description_group = parser.add_mutually_exclusive_group() @@ -148,9 +147,6 @@ class SetZoneCommand(show.ShowOne): data = {} # TODO(kiall): API needs updating.. this get is silly - if parsed_args.name: - data['name'] = parsed_args.name - if parsed_args.email: data['email'] = parsed_args.email