From b5e6c2c8556927efb6de9de1e7c19e0aab450b10 Mon Sep 17 00:00:00 2001 From: Roman Podolyaka Date: Wed, 27 Mar 2013 07:59:39 +0200 Subject: [PATCH] Mark 'sql_connection' config option as secret Fixes bug 1160680. Change-Id: I42b16d006f162cb41090fa34677d6ad054b6a55a --- quantum/db/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quantum/db/api.py b/quantum/db/api.py index 72bc2964d..2629b2937 100644 --- a/quantum/db/api.py +++ b/quantum/db/api.py @@ -42,7 +42,8 @@ SQL_CONNECTION_DEFAULT = 'sqlite://' database_opts = [ cfg.StrOpt('sql_connection', help=_('The SQLAlchemy connection string used to connect to ' - 'the database')), + 'the database'), + secret=True), cfg.IntOpt('sql_max_retries', default=-1, help=_('Database reconnection retry times')), cfg.IntOpt('reconnect_interval', default=2, -- 2.45.2