summaryrefslogtreecommitdiff
path: root/trove/taskmanager
diff options
context:
space:
mode:
authorHirotaka Wakabayashi <hiwkby@yahoo.com>2022-03-09 21:17:11 +0900
committerHirotaka Wakabayashi <hiwkby@yahoo.com>2022-03-17 09:04:45 +0900
commit559d6255e5feb73b90468a25a8ba99650ad50bf2 (patch)
tree54cad30f10833c3280b2ee5509aa3b58525b5e12 /trove/taskmanager
parent39322f5ad88cf5eef003af74294676a5563a8296 (diff)
downloadtrove-559d6255e5feb73b90468a25a8ba99650ad50bf2.tar.gz
Removes the deprecated argument tenant from TroveContext
The tenant argument of RequestContext in oslo.context had been deprecated long time ago and it was finally removed in oslo.context-4.0.0. We should remove the tenant argument of TroveContext that derives from RequestContext and we should also update the requirements.txt in the master branch. Task: 44723 Story: 2009906 Change-Id: I69c7098cc0d61fbbba1dbf2eca87df0dd6fd70ba
Diffstat (limited to 'trove/taskmanager')
-rw-r--r--trove/taskmanager/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/taskmanager/manager.py b/trove/taskmanager/manager.py
index ace23697..a7a16493 100644
--- a/trove/taskmanager/manager.py
+++ b/trove/taskmanager/manager.py
@@ -45,7 +45,7 @@ class Manager(periodic_task.PeriodicTasks):
super(Manager, self).__init__(CONF)
self.admin_context = TroveContext(
user=CONF.service_credentials.username,
- tenant=CONF.service_credentials.project_id,
+ project_id=CONF.service_credentials.project_id,
user_domain_name=CONF.service_credentials.user_domain_name)
if CONF.exists_notification_transformer:
self.exists_transformer = importutils.import_object(