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>
get_request["case_name"] = case_arg
if pod_arg is not None:
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
else:
get_request["_id"] = result_id