Skip to content

Commit

Permalink
Fixing sonarcloud api url
Browse files Browse the repository at this point in the history
  • Loading branch information
IanFPFerreira committed Jul 4, 2023
1 parent d3ee9f4 commit 37e01e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/sonar-metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def generate_metrics():
repository_version = sys.argv[2]
underlined_repo_name = repository_name[:16] + \
repository_name[16:].replace('-', "_")
url = f'{base_url}{repository_name}&metricKeys={",".join(metrics)}'
url = f'{base_url}{repository_name}&metricKeys={",".join(metrics)}&ps=500'
with urllib.request.urlopen(url) as res:
data = json.load(res)
date = datetime.now()
Expand Down

0 comments on commit 37e01e8

Please sign in to comment.