diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2015-09-16 14:58:27 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2015-09-16 14:58:27 +0200 |
commit | 08fac324eab7f3078631d96a288423745a9cacd5 (patch) | |
tree | 6d8059ee283f2c0ec9ba2d3f293ea9d5e674e30d /utils/test | |
parent | caf955024bedf3d794fa902be1929d70a20301bc (diff) |
fix POD id type in API
the pod_id are defined as int but the APi sent a string, then the API was not working well when filtering on pod_id
we may discuss if a string description would not be more explicit than an id
JIRA: RELENG-7
Change-Id: Ib53263f379047bc4214926f966e40e797e42314e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test')
-rw-r--r-- | utils/test/result_collection_api/resources/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/resources/handlers.py b/utils/test/result_collection_api/resources/handlers.py index 35aea0c9d..3faba5aeb 100644 --- a/utils/test/result_collection_api/resources/handlers.py +++ b/utils/test/result_collection_api/resources/handlers.py @@ -463,7 +463,7 @@ class TestResultsHandler(GenericApiHandler): get_request["case_name"] = case_arg if pod_arg is not None: - get_request["pod_id"] = pod_arg + get_request["pod_id"] = int(pod_arg) else: get_request["_id"] = result_id |