Skip to content

fix: Fixed crashes when json field is nil#2486

Merged
amanenk merged 3 commits intocloudquery:mainfrom
amanenk:fix/nil_in_json
Oct 6, 2022
Merged

fix: Fixed crashes when json field is nil#2486
amanenk merged 3 commits intocloudquery:mainfrom
amanenk:fix/nil_in_json

Conversation

@amanenk
Copy link
Copy Markdown
Contributor

@amanenk amanenk commented Oct 6, 2022

Summary

MarshaledJsonResolver was not able to handle nil fields

@amanenk amanenk requested a review from bbernays October 6, 2022 17:12
@cq-bot cq-bot added the aws label Oct 6, 2022
@amanenk amanenk marked this pull request as ready for review October 6, 2022 17:20
@amanenk amanenk requested a review from bbernays October 6, 2022 17:20
Copy link
Copy Markdown
Collaborator

@bbernays bbernays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bbernays bbernays mentioned this pull request Oct 6, 2022
@amanenk amanenk requested a review from bbernays October 6, 2022 17:50
@amanenk amanenk merged commit 7dcda4f into cloudquery:main Oct 6, 2022
kodiakhq bot pushed a commit that referenced this pull request Oct 6, 2022
🤖 I have created a release *beep* *boop*
---


## [2.0.1](plugins-source-aws-v2.0.0...plugins-source-aws-v2.0.1) (2022-10-06)


### Bug Fixes

* **aws:** Re-add Cloudtrail tags ([#2479](#2479)) ([c2857d5](c2857d5))
* **aws:** Re-add Route53 hosted zone tags ([#2480](#2480)) ([ebb9eb6](ebb9eb6))
* **aws:** Regen glue jobs ([#2476](#2476)) ([c787928](c787928))
* Fixed crashes when json field is nil ([#2486](#2486)) ([7dcda4f](7dcda4f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@bbernays bbernays linked an issue Oct 7, 2022 that may be closed by this pull request
@bbernays bbernays linked an issue Oct 7, 2022 that may be closed by this pull request
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.

JSON Resolver Panics when field is nil

4 participants