Add 'secret' property for 'connection' option

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
This commit is contained in:
DuYaHong 2014-05-14 22:36:01 +08:00
parent 6e1dccdb52
commit 5de4f9bbc1

View File

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