]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Mark configuration option netapp_password secret
authorMichael J Fork <mjfork@us.ibm.com>
Thu, 7 Mar 2013 07:10:18 +0000 (07:10 +0000)
committerMichael J Fork <mjfork@us.ibm.com>
Thu, 7 Mar 2013 07:10:18 +0000 (07:10 +0000)
Mark netapp_password configuration option with secret flag.

fixes bug 1151510

Change-Id: I4b04ae610f61c30e8d061b2be710bb48d7afae66

cinder/volume/drivers/netapp/iscsi.py

index 6ca53cf6645ef540e8a742b60d0409861f1dfd7a..0038d9cfbeb5adb1ba5111d69e28c43c4182f73e 100644 (file)
@@ -52,7 +52,8 @@ netapp_opts = [
                help='User name for the DFM/Controller server'),
     cfg.StrOpt('netapp_password',
                default=None,
-               help='Password for the DFM/Controller server'),
+               help='Password for the DFM/Controller server',
+               secret=True),
     cfg.StrOpt('netapp_server_hostname',
                default=None,
                help='Hostname for the DFM/Controller server'),