Merge "Deprecate argument sqlite_db in method set_defaults"

This commit is contained in:
Jenkins 2016-08-10 18:27:44 +00:00 committed by Gerrit Code Review
commit 18d26125d0
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from debtcollector import removals
from oslo_config import cfg
@ -142,6 +143,9 @@ database_opts = [
]
@removals.removed_kwarg("sqlite_db",
"Config option sqlite_db is deprecated for removal,"
"please use option `connection`.")
def set_defaults(conf, connection=None, sqlite_db=None,
max_pool_size=None, max_overflow=None,
pool_timeout=None):