Skip to content

Commit

Permalink
When measuring the 'missing metrics' metric, *Quality-time* was still…
Browse files Browse the repository at this point in the history
… using an old endpoint to get the data, resulting in a parse error. Fixes #3855.
  • Loading branch information
fniessink committed May 17, 2022
1 parent 3324ec3 commit a8e303c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def _get_source_responses(self, *urls: URL, **kwargs) -> SourceResponses:
"""Get responses for reports and the datamodel."""
api_url = urls[0]
datamodel_url = URL(f"{api_url}/datamodel")
reports_url = URL(f"{api_url}/reports")
reports_url = URL(f"{api_url}/report")
return await super()._get_source_responses(datamodel_url, reports_url, **kwargs)

async def _parse_source_responses(self, responses: SourceResponses) -> SourceMeasurement:
Expand Down
10 changes: 10 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

<!-- The line "## <square-bracket>Unreleased</square-bracket>" is replaced by the release/release.py script with the new release version and release date. -->

## [Unreleased]

### Deployment notes

If your currently installed *Quality-time* version is not v3.36.0, please read the v3.36.0 deployment notes.

### Fixed

- When measuring the 'missing metrics' metric, *Quality-time* was still using an old endpoint to get the data, resulting in a parse error. Fixes [#3855](https://github.com/ICTU/quality-time/issues/3855).

## v3.36.0 - 2022-05-16

### Deployment notes
Expand Down

0 comments on commit a8e303c

Please sign in to comment.