diff options
| author | Gary Kotton <gkotton@redhat.com> | 2012-12-12 07:26:28 +0000 |
|---|---|---|
| committer | Gary Kotton <gkotton@redhat.com> | 2012-12-13 06:52:05 +0000 |
| commit | a630ea4e0d2d93ac76df41e784b3af3af779bed3 (patch) | |
| tree | 5f098291d87da5b6ae24936193da3e253460bfb6 /nova | |
| parent | b963a93194c25f20db7eb87348ec1b61c06e7864 (diff) | |
| download | nova-a630ea4e0d2d93ac76df41e784b3af3af779bed3.tar.gz nova-a630ea4e0d2d93ac76df41e784b3af3af779bed3.tar.xz nova-a630ea4e0d2d93ac76df41e784b3af3af779bed3.zip | |
Ensure that sql_dbpool_enable is a boolean value
Fixes bug 1089232
Change-Id: Ida46aaf6b41422590ce1c04a606cd24c70891ed9
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/db/sqlalchemy/session.py | 10 |
1 files 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 |
