diff options
author | asteroide <thomas.duval@orange.com> | 2015-11-03 16:00:13 +0100 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-11-03 16:00:13 +0100 |
commit | 72718da8b6e0bcb03b70dddbdd2f705e6ca5f976 (patch) | |
tree | 43bb969d60ab753c1948c4b517cfd3dd9c2e8fa8 /moonclient | |
parent | 5e4a20a8190e84723f7aa6c730c00c6b488504eb (diff) |
Fix a bug when setting an algorithm for submetarules.
Change-Id: Ieef5732ed02dd43cad81688c7201fea5986e6956
Diffstat (limited to 'moonclient')
-rw-r--r-- | moonclient/moonclient/metarules.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moonclient/moonclient/metarules.py b/moonclient/moonclient/metarules.py index 9677c5f6..a980cd85 100644 --- a/moonclient/moonclient/metarules.py +++ b/moonclient/moonclient/metarules.py @@ -84,8 +84,8 @@ class AggregationAlgorithmSet(Command): authtoken=True) algorithm = self.__get_aggregation_algorithm_from_id(data['content']) return ( - ("id", "name", "description"), - ((data['content'], algorithm["name"], algorithm["description"]), ) + ("id",), + (algorithm,) ) |