summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trove/configuration/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trove/configuration/service.py b/trove/configuration/service.py
index 48f705a0..50b4138b 100644
--- a/trove/configuration/service.py
+++ b/trove/configuration/service.py
@@ -88,7 +88,7 @@ class ConfigurationsController(wsgi.Controller):
'deleted': False
}
if not context.is_admin:
- kwargs['tenant_id'] = context.tenant
+ kwargs['tenant_id'] = context.project_id
instances = instances_models.DBInstance.find_all(**kwargs)
limit = int(context.limit or CONF.instances_page_size)
@@ -246,7 +246,7 @@ class ConfigurationsController(wsgi.Controller):
LOG.debug("Re-applying configuration group '%s' to all clusters.",
configuration_id)
clusters = cluster_models.DBCluster.find_all(
- tenant_id=context.tenant,
+ tenant_id=context.project_id,
configuration_id=configuration_id,
deleted=False).all()