Fix 'nova-manage config convert'
Fixes bug #965069 Looks like this never worked. The dest of the infile and outfile arguments sets up an unknown kwarg. Change-Id: I428f56564b39f5586229325db03dccb0b4a01ef6
This commit is contained in:
parent
f34b904078
commit
9576d92586
@ -1455,9 +1455,9 @@ class ConfigCommands(object):
|
||||
if value is not None:
|
||||
print '%s = %s' % (key, value)
|
||||
|
||||
@args('--infile', dest='file_path', metavar='<path>',
|
||||
@args('--infile', dest='infile', metavar='<path>',
|
||||
help='old-style flagfile to convert to config')
|
||||
@args('--outfile', dest='file_path', metavar='<path>',
|
||||
@args('--outfile', dest='outfile', metavar='<path>',
|
||||
help='path for output file. Writes config'
|
||||
'to stdout if not specified.')
|
||||
def convert(self, infile, outfile=None):
|
||||
|
Loading…
Reference in New Issue
Block a user