2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-23 19:52:10 +00:00

Fix volume name creation

The volume names were not being honored, fix passing the arguments.
This commit is contained in:
Jarrod Johnson 2018-11-15 16:25:03 -05:00
parent fcd46c7b72
commit 8d72f4d64a

View File

@ -103,7 +103,8 @@ def createstorage(noderange, options, args):
names = options.name
if names is None:
names = ''
parms = {'disks': options.disks, 'raidlevel': options.raidlevel}
parms = {'disks': options.disks, 'raidlevel': options.raidlevel,
'name': options.names}
if options.size:
parms['size'] = options.size
for rsp in session.create(