From 72718da8b6e0bcb03b70dddbdd2f705e6ca5f976 Mon Sep 17 00:00:00 2001 From: asteroide Date: Tue, 3 Nov 2015 16:00:13 +0100 Subject: Fix a bug when setting an algorithm for submetarules. Change-Id: Ieef5732ed02dd43cad81688c7201fea5986e6956 --- moonclient/moonclient/metarules.py | 4 ++-- 1 file 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,) ) -- cgit 1.2.3-korg