2
0
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:
Jarrod Johnson 2018-11-19 15:32:03 -05:00
parent 2cb694b374
commit aa92898249

View File

@ -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: