Removes name argument from openstack recordset set command
Closes-Bug: #1499867 Change-Id: Iec4d52aadb588caa7aa5302ae68112908f8e3cec
This commit is contained in:
parent
f2192badc1
commit
08d14dc00d
@ -112,7 +112,6 @@ class SetRecordSetCommand(show.ShowOne):
|
||||
|
||||
parser.add_argument('zone_id', help="Zone ID")
|
||||
parser.add_argument('id', help="RecordSet ID")
|
||||
parser.add_argument('--name', help="RecordSet Name")
|
||||
parser.add_argument('--records', help="Records", nargs='+')
|
||||
|
||||
description_group = parser.add_mutually_exclusive_group()
|
||||
@ -128,9 +127,6 @@ class SetRecordSetCommand(show.ShowOne):
|
||||
def take_action(self, parsed_args):
|
||||
data = {}
|
||||
|
||||
if parsed_args.name:
|
||||
data['name'] = parsed_args.name
|
||||
|
||||
if parsed_args.no_description:
|
||||
data['description'] = None
|
||||
elif parsed_args.description:
|
||||
|
Loading…
x
Reference in New Issue
Block a user