conf: Remove extraneous whitespace

Per the conventions seen in other files.

Change-Id: I84b15f0eeddfd4d654aea9b5386ae3d90faafabf
Implements: bp centralize-config-options-ocata
This commit is contained in:
Stephen Finucane
2016-11-03 17:38:59 +00:00
parent 05381ec9a1
commit 85e7d91e08

View File

@@ -54,53 +54,42 @@ api_db_opts = [
cfg.StrOpt('connection', cfg.StrOpt('connection',
secret=True, secret=True,
help=''), help=''),
cfg.BoolOpt('sqlite_synchronous', cfg.BoolOpt('sqlite_synchronous',
default=True, default=True,
help=''), help=''),
cfg.StrOpt('slave_connection', cfg.StrOpt('slave_connection',
secret=True, secret=True,
help=''), help=''),
cfg.StrOpt('mysql_sql_mode', cfg.StrOpt('mysql_sql_mode',
default='TRADITIONAL', default='TRADITIONAL',
help=''), help=''),
cfg.IntOpt('idle_timeout', cfg.IntOpt('idle_timeout',
default=3600, default=3600,
help=''), help=''),
# TODO(markus_z): We should probably default this to 5 to not rely on the # TODO(markus_z): We should probably default this to 5 to not rely on the
# SQLAlchemy default. Otherwise we wouldn't provide a stable default. # SQLAlchemy default. Otherwise we wouldn't provide a stable default.
cfg.IntOpt('max_pool_size', cfg.IntOpt('max_pool_size',
help=''), help=''),
cfg.IntOpt('max_retries', cfg.IntOpt('max_retries',
default=10, default=10,
help=''), help=''),
# TODO(markus_z): This should have a minimum attribute of 0 # TODO(markus_z): This should have a minimum attribute of 0
cfg.IntOpt('retry_interval', cfg.IntOpt('retry_interval',
default=10, default=10,
help=''), help=''),
# TODO(markus_z): We should probably default this to 10 to not rely on the # TODO(markus_z): We should probably default this to 10 to not rely on the
# SQLAlchemy default. Otherwise we wouldn't provide a stable default. # SQLAlchemy default. Otherwise we wouldn't provide a stable default.
cfg.IntOpt('max_overflow', cfg.IntOpt('max_overflow',
help=''), help=''),
# TODO(markus_z): This should probably make use of the "choices" attribute. # TODO(markus_z): This should probably make use of the "choices" attribute.
# "oslo.db" uses only the values [<0, 0, 50, 100] see module # "oslo.db" uses only the values [<0, 0, 50, 100] see module
# /oslo_db/sqlalchemy/engines.py method "_setup_logging" # /oslo_db/sqlalchemy/engines.py method "_setup_logging"
cfg.IntOpt('connection_debug', cfg.IntOpt('connection_debug',
default=0, default=0,
help=''), help=''),
cfg.BoolOpt('connection_trace', cfg.BoolOpt('connection_trace',
default=False, default=False,
help=''), help=''),
# TODO(markus_z): We should probably default this to 30 to not rely on the # TODO(markus_z): We should probably default this to 30 to not rely on the
# SQLAlchemy default. Otherwise we wouldn't provide a stable default. # SQLAlchemy default. Otherwise we wouldn't provide a stable default.
cfg.IntOpt('pool_timeout', cfg.IntOpt('pool_timeout',