diff options
author | Ruan HE <ruan.he@orange.com> | 2015-11-03 15:09:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-11-03 15:09:40 +0000 |
commit | a008dce1a60f8be6135595c7c81c77ce1809c0d1 (patch) | |
tree | b94ef72ebbf0a2a41eb6ba5dbe469d82755b6c67 | |
parent | 2de100f4b69ce63999a1feb8ad0118429993369d (diff) | |
parent | 72718da8b6e0bcb03b70dddbdd2f705e6ca5f976 (diff) |
Merge "Fix a bug when setting an algorithm for submetarules."
-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,) ) |