aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-09-25 17:26:50 +0200
committerasteroide <thomas.duval@orange.com>2015-09-25 17:26:50 +0200
commita24d3ba878df6346ae8a3134a4508d3a37f1e270 (patch)
treece2d32346641eb7774b287404f7abdde03654df9 /keystone-moon
parent92d11d139e9f76d4fd76859aea78643fc32ef36b (diff)
Fix a bug in aggregation_algorithm functions.
Change-Id: Id480972ce81173c720e5e2461ad5fd472aecc90e
Diffstat (limited to 'keystone-moon')
-rw-r--r--keystone-moon/keystone/contrib/moon/controllers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone-moon/keystone/contrib/moon/controllers.py b/keystone-moon/keystone/contrib/moon/controllers.py
index 596946b2..c4fc0add 100644
--- a/keystone-moon/keystone/contrib/moon/controllers.py
+++ b/keystone-moon/keystone/contrib/moon/controllers.py
@@ -666,14 +666,14 @@ class IntraExtensions(controller.V3Controller):
def get_aggregation_algorithm(self, context, **kw):
user_id = self._get_user_id_from_token(context.get('token_id'))
intra_extension_id = kw.get('intra_extension_id', None)
- return self.admin_api.get_aggregation_algorithm_dict(user_id, intra_extension_id)
+ return self.admin_api.get_aggregation_algorithm_id(user_id, intra_extension_id)
@controller.protected()
def set_aggregation_algorithm(self, context, **kw):
user_id = self._get_user_id_from_token(context.get('token_id'))
intra_extension_id = kw.get('intra_extension_id', None)
aggregation_algorithm_id = kw.get('aggregation_algorithm_id', None)
- return self.admin_api.set_aggregation_algorithm_dict(user_id, intra_extension_id, aggregation_algorithm_id)
+ return self.admin_api.set_aggregation_algorithm_id(user_id, intra_extension_id, aggregation_algorithm_id)
@controller.protected()
def get_sub_meta_rules(self, context, **kw):