summaryrefslogtreecommitdiffstats
path: root/app/api/responders/resource/aggregates.py
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-10-10 18:08:39 +0300
committerKoren Lev <korenlev@gmail.com>2017-10-10 15:11:31 +0000
commit33802c45e4bc24c1e78f6b46cf968306cee2d4da (patch)
treecd56ab878d8c5aadff49f3c5c89cf265f64e664d /app/api/responders/resource/aggregates.py
parent87e9e89e07b751b64e9684f02928acb3467489c4 (diff)
release 1.1 for euphrates
Change-Id: Iddc0e0148db7c72458b7fcdfcb7664e4aa609be0 Signed-off-by: Koren Lev <korenlev@gmail.com> (cherry picked from commit 5c6eb170878cefa12f717a62c31f7228d440e61e)
Diffstat (limited to 'app/api/responders/resource/aggregates.py')
-rw-r--r--app/api/responders/resource/aggregates.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/api/responders/resource/aggregates.py b/app/api/responders/resource/aggregates.py
index 36fcfa4..d0b8031 100644
--- a/app/api/responders/resource/aggregates.py
+++ b/app/api/responders/resource/aggregates.py
@@ -31,10 +31,9 @@ class Aggregates(ResponderBase):
requirement=self.AGGREGATE_TYPES,
mandatory=True,
error_messages={"mandatory":
- "type must be specified: " +
- "environment/" +
- " message/" +
- "constant"})
+ "type must be specified: (" +
+ ",".join(self.AGGREGATE_TYPES) +
+ ")"})
}
self.validate_query_data(filters, filters_requirements)
query = self.build_query(filters)