Don't pass sqlite_db in db_options.set_defaults()

The option sqlite_db was deprecated and removed by
Id269d921e40edf95eb977b011f1753f633b79d18

As we passed it as positional argument, another max_pool_size
var was set automatically.
This patch removes dropped sqlite_db option.

Change-Id: Icdd89453ec3ebecd8375a5f2efd1a0d4bf6b4064
Closes-Bug: #1676809
This commit is contained in:
Vasyl Saienko 2017-03-28 14:42:29 +03:00
parent 8aec5fb6a5
commit d31d984871

View File

@ -34,7 +34,7 @@ from ironic.conf import CONF
_DEFAULT_SQL_CONNECTION = 'sqlite:///' + paths.state_path_def('ironic.sqlite')
db_options.set_defaults(CONF, _DEFAULT_SQL_CONNECTION, 'ironic.sqlite')
db_options.set_defaults(CONF, connection=_DEFAULT_SQL_CONNECTION)
def table_args():