]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add 'secret' property for 'connection' option
authorDuYaHong <yahongdu@cn.ibm.com>
Wed, 14 May 2014 14:36:01 +0000 (22:36 +0800)
committerDuYaHong <yahongdu@cn.ibm.com>
Thu, 15 May 2014 06:15:58 +0000 (14:15 +0800)
Neutron cli registers 'connection' option without
'secret=True' property. This commit makes sure
'connection' option has 'secret' property when
it is registered.

Change-Id: I0b0a5aca44a8eeee1c12513f30b9559f1d008442
Closes-Bug: #1319651

neutron/db/migration/cli.py

index 850806e898b5de5188ea67c3451be2226e75e7ad..6f997777a7aa320b02988e79083c5b3aaad2b144 100644 (file)
@@ -45,6 +45,7 @@ _db_opts = [
     cfg.StrOpt('connection',
                deprecated_name='sql_connection',
                default='',
+               secret=True,
                help=_('URL to database')),
 ]