summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-10 18:27:44 +0000
committerGerrit Code Review <review@openstack.org>2016-08-10 18:27:44 +0000
commit18d26125d02c8a017d8541339737981bf242616b (patch)
tree16dc2ba5a63cb40318396c1c1452bfb574f3ee15
parent6f615b4bd5a4de95fa78067bf96176ccc055b458 (diff)
parent93a04675d39c790c97d4ff064436718d708a7495 (diff)
downloadoslo-db-18d26125d02c8a017d8541339737981bf242616b.tar.gz
Merge "Deprecate argument sqlite_db in method set_defaults"
-rw-r--r--oslo_db/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py
index a02dad5..d5d15cf 100644
--- a/oslo_db/options.py
+++ b/oslo_db/options.py
@@ -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):