|
@@ -24,17 +24,8 @@ class GroupTagsEndpoint(GroupEndpoint):
|
|
|
else:
|
|
|
value_limit = 10
|
|
|
|
|
|
- use_snuba = request.GET.get('enable_snuba') == '1'
|
|
|
-
|
|
|
environment_ids = [e.id for e in get_environments(request, group.project.organization)]
|
|
|
|
|
|
- if not use_snuba:
|
|
|
- # TODO(jess): This is just to ensure we're not breaking the old
|
|
|
- # issue page somehow -- non-snuba tagstore versions will raise
|
|
|
- # if more than one env is passed
|
|
|
- if environment_ids:
|
|
|
- environment_ids = environment_ids[:1]
|
|
|
-
|
|
|
tag_keys = tagstore.get_group_tag_keys_and_top_values(
|
|
|
group.project_id, group.id, environment_ids, keys=keys,
|
|
|
value_limit=value_limit)
|