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 regession in matchbox_group reading of empty metadata #104

Merged
merged 1 commit into from
Jul 30, 2022

Conversation

dghubble
Copy link
Member

  • Fix "unexpected end of JSON input" error when planning or applying after a matchbox_group without metadata is created (a common case)
  • Group metadata is returned as an empty []byte, so its not valid to try to parse it as JSON
  • Add test coverage and improve testing in general

Regressed by #68

* Fix "unexpected end of JSON input" error when planning or applying after
a matchbox_group without metadata is created (a common case)
* Group metadata is returned as an empty []byte, so its not valid to try
to parse it as JSON
* Add test coverage and improve testing in general

Regressed by #68
@dghubble dghubble merged commit 36c9eba into main Jul 30, 2022
@dghubble dghubble deleted the fix-regression branch July 30, 2022 20:05
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.

1 participant