Skip to content

Commit

Permalink
Fix flak8 errors
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Aug 6, 2024
1 parent 93ff2fa commit b5cf5a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def get_all_index_details(cluster: Cluster, index_prefix_ignore_list=None, **kwa
valid_index = not index_matches_ignored_index(index_name,
index_prefix_ignore_list=index_prefix_ignore_list)
if index_prefix_ignore_list is None or valid_index:
index_dict[index_name] = execute_api_call(cluster=cluster, path=f"/{index_name}/_count?format=json", **kwargs).json()
count_response = execute_api_call(cluster=cluster, path=f"/{index_name}/_count?format=json", **kwargs)
index_dict[index_name] = count_response.json()
return index_dict


Expand Down

0 comments on commit b5cf5a7

Please sign in to comment.