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 ff22dc1a7c
commit e222585c98
1 changed files with 1 additions and 0 deletions

View File

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