From a630ea4e0d2d93ac76df41e784b3af3af779bed3 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Wed, 12 Dec 2012 07:26:28 +0000 Subject: Ensure that sql_dbpool_enable is a boolean value Fixes bug 1089232 Change-Id: Ida46aaf6b41422590ce1c04a606cd24c70891ed9 --- nova/db/sqlalchemy/session.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nova/db/sqlalchemy/session.py b/nova/db/sqlalchemy/session.py index 66ff0f916..cb05cc444 100644 --- a/nova/db/sqlalchemy/session.py +++ b/nova/db/sqlalchemy/session.py @@ -216,11 +216,11 @@ sql_opts = [ help='Verbosity of SQL debugging information. 0=None, ' '100=Everything'), cfg.BoolOpt('sql_connection_trace', - default=False, - help='Add python stack traces to SQL as comment strings'), - cfg.IntOpt('sql_dbpool_enable', - default=False, - help="enable the use of eventlet's db_pool for MySQL"), + default=False, + help='Add python stack traces to SQL as comment strings'), + cfg.BoolOpt('sql_dbpool_enable', + default=False, + help="enable the use of eventlet's db_pool for MySQL"), ] CONF = cfg.CONF -- cgit