summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-03-26 09:53:46 +0100
committerMark McLoughlin <markmc@redhat.com>2012-03-26 09:58:05 +0100
commit9576d9258672f5fa61a1f8a35bc007d4ee34bdd8 (patch)
tree140f8e6912b4f12e62321bb702fde29f622bbdae
parentf34b904078c2b70ebf22fc9cfa0d87c7ef548381 (diff)
downloadnova-9576d9258672f5fa61a1f8a35bc007d4ee34bdd8.tar.gz
nova-9576d9258672f5fa61a1f8a35bc007d4ee34bdd8.tar.xz
nova-9576d9258672f5fa61a1f8a35bc007d4ee34bdd8.zip
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
-rwxr-xr-xbin/nova-manage4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 0b040df13..65082ba90 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -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):