diff options
author | asteroide <thomas.duval@orange.com> | 2015-09-25 17:26:50 +0200 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-09-25 17:26:50 +0200 |
commit | a24d3ba878df6346ae8a3134a4508d3a37f1e270 (patch) | |
tree | ce2d32346641eb7774b287404f7abdde03654df9 /keystone-moon/keystone | |
parent | 92d11d139e9f76d4fd76859aea78643fc32ef36b (diff) |
Fix a bug in aggregation_algorithm functions.
Change-Id: Id480972ce81173c720e5e2461ad5fd472aecc90e
Diffstat (limited to 'keystone-moon/keystone')
-rw-r--r-- | keystone-moon/keystone/contrib/moon/controllers.py | 4 |
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): |