Skip to content

Conversation

@jacobbednarz
Copy link
Contributor

No description provided.

Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
Even though not all resources expose a `id` field, we have it in the form of the `account_id` or `zone_id` parameter. We can use that instead of panic'ing.

Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
If the API responds with a singular result (`result = {}`) but it is a list endpoint, we need to wrap it as an array to continue with the generation steps.

Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
@jacobbednarz jacobbednarz merged commit 6584acd into master Jan 28, 2025
7 checks passed
@jacobbednarz jacobbednarz deleted the handle-umbrella-resources branch January 28, 2025 04:13
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