From: asteroide Date: Tue, 3 Nov 2015 15:00:13 +0000 (+0100) Subject: Fix a bug when setting an algorithm for submetarules. X-Git-Tag: colorado.1.0~113^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F2995%2F1;p=moon.git Fix a bug when setting an algorithm for submetarules. Change-Id: Ieef5732ed02dd43cad81688c7201fea5986e6956 --- 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,) )