Merge "Remove password display for rabbitmq on connection log"

This commit is contained in:
Zuul 2020-04-08 00:57:33 +00:00 committed by Gerrit Code Review
commit 2ccd5da4a8
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ def wait():
# hide flag contents from log if contains a password
# should use secret flag when switch over to openstack-common
if ("_password" in flag or "_key" in flag or
(flag == "transport_url" and "rabbit:" in flag_get) or
(flag == "sql_connection" and
("mysql:" in flag_get or "postgresql:" in flag_get))):
LOG.debug('%s : FLAG SET ', flag)