Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling missing test_result.json #603

Merged
merged 1 commit into from
Sep 5, 2022
Merged

Conversation

5nord
Copy link
Member

@5nord 5nord commented Sep 5, 2022

Return an empty results.DB structure, when no test_result.json file is
available.

Function results.Latest is supposed to return an empty structure, when
no test_result.json is available. However, json.Unmarshal returns an
error for empty bytes slices, which is was not intended behaviour.

Return an empty `results.DB` structure, when no test_result.json file is
available.

Function `results.Latest` is supposed to return an empty structure, when
no test_result.json is available. However, `json.Unmarshal` returns an
error for empty bytes slices, which is was not intended behaviour.
@5nord 5nord merged commit 7317f81 into nokia:master Sep 5, 2022
@5nord 5nord deleted the fix-result branch October 17, 2022 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant