Add no_group parameter to hashmap "list_*" calls

The "no_group" parameter is available in the API and in the hashmap module's
"list_mappings" and "list_thresholds" functions, but it is ignored.

This patch fixes it by passing the parameter through.

Change-Id: I5ab4e664c90144bb722eb5ce47129a6cece5fd53
This commit is contained in:
Luka Peschke 2018-03-22 10:02:36 +01:00
parent dff3e97b12
commit c1e0844175
2 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,7 @@ class HashMapMappingsController(rating.RatingRestControllerBase):
service_uuid=service_id,
field_uuid=field_id,
group_uuid=group_id,
no_group=no_group,
**search_opts)
for mapping_uuid in mappings_uuid_list:
mapping_db = hashmap.get_mapping(uuid=mapping_uuid)

View File

@ -84,6 +84,7 @@ class HashMapThresholdsController(rating.RatingRestControllerBase):
service_uuid=service_id,
field_uuid=field_id,
group_uuid=group_id,
no_group=no_group,
**search_opts)
for threshold_uuid in thresholds_uuid_list:
threshold_db = hashmap.get_threshold(uuid=threshold_uuid)