summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-09 01:06:13 +0000
committerGerrit Code Review <review@openstack.org>2016-01-09 01:06:13 +0000
commitaf49730dabea64988ceabc06e1a171bd9ea99d03 (patch)
tree5a8c857badad54bdcde6aa533e34265a7025cd67
parent5813ad77849dab25ac38d7d94630741c95598a20 (diff)
parent18f6dc72a1fcb23d8b6af3f3c6f9b9d695f8fdaa (diff)
downloadoslo-utils-3.4.0.tar.gz
Merge "Add "configdrive" to the list of keys used by mask_password()"3.4.0
-rw-r--r--oslo_utils/strutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_utils/strutils.py b/oslo_utils/strutils.py
index af55d9d..3fb3efa 100644
--- a/oslo_utils/strutils.py
+++ b/oslo_utils/strutils.py
@@ -53,7 +53,7 @@ SLUGIFY_HYPHENATE_RE = re.compile(r"[-\s]+")
# NOTE(flaper87): The following globals are used by `mask_password`
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password',
'auth_token', 'new_pass', 'auth_password', 'secret_uuid',
- 'secret', 'sys_pswd', 'token']
+ 'secret', 'sys_pswd', 'token', 'configdrive']
# NOTE(ldbragst): Let's build a list of regex objects using the list of
# _SANITIZE_KEYS we already have. This way, we only have to add the new key