Code Review
/
moon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5e4a20a
)
Fix a bug when setting an algorithm for submetarules.
95/2995/1
author
asteroide
<thomas.duval@orange.com>
Tue, 3 Nov 2015 15:00:13 +0000
(16:00 +0100)
committer
asteroide
<thomas.duval@orange.com>
Tue, 3 Nov 2015 15:00:13 +0000
(16:00 +0100)
Change-Id: Ieef5732ed02dd43cad81688c7201fea5986e6956
moonclient/moonclient/metarules.py
patch
|
blob
|
history
diff --git
a/moonclient/moonclient/metarules.py
b/moonclient/moonclient/metarules.py
index
9677c5f
..
a980cd8
100644
(file)
--- 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,
)
)