mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-23 19:52:10 +00:00
Have nodestorage create optionally read names from args
This is more symmetric with the way delete works.
This commit is contained in:
parent
2cb694b374
commit
aa92898249
@ -110,7 +110,7 @@ def createstorage(noderange, options, args):
|
||||
session = client.Command()
|
||||
names = options.name
|
||||
if names is None:
|
||||
names = ''
|
||||
names = ''.join(args)
|
||||
parms = {'disks': options.disks, 'raidlevel': options.raidlevel,
|
||||
'name': names}
|
||||
if options.size:
|
||||
|
Loading…
Reference in New Issue
Block a user