]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix generate conf script can't handle multistropt
authorXingchao Yu <xingchao@unitedstack.com>
Fri, 18 Oct 2013 05:50:18 +0000 (13:50 +0800)
committerXingchao Yu <xingchao@unitedstack.com>
Sat, 19 Oct 2013 02:09:31 +0000 (10:09 +0800)
commite5aa6e72734738e81d1b8be51ae3bb39db50f8a3
tree53ee3b352113a40f6c9463aedf782e854d31d05b
parent8491caeba195390ed2cd78fab0b22afc94f10c17
Fix generate conf script can't handle multistropt

In case MultiStrOpt option's value is empty list, current extract_opts.py
logic will ignore it. This patch aims to update func _print_opt:

add the multistropt's option_name in conf even its value is empty list.

This bug also affects https://bugs.launchpad.net/cinder/+bug/1240783

Closes-bug: #1241348

Change-Id: Ica1da0cd20c97a587964cb0059836d609a440145
etc/cinder/cinder.conf.sample
tools/conf/extract_opts.py