Skip to content

transport: add itemName fallback for transport.ListPages()#12128

Merged
modular-magician merged 1 commit intohashicorp:mainfrom
modular-magician:downstream-pr-b341eab546b69c25c699b3890a1e3f88d893bfc3
May 4, 2026
Merged

transport: add itemName fallback for transport.ListPages()#12128
modular-magician merged 1 commit intohashicorp:mainfrom
modular-magician:downstream-pr-b341eab546b69c25c699b3890a1e3f88d893bfc3

Conversation

@modular-magician
Copy link
Copy Markdown
Collaborator

Release Note Template for Downstream PRs (will be copied)

I noticed that sweeper_file.go.tmpl includes a fallback for itemswhen the default list key value is used but returns !ok

Including this fallback makes sense in the case of ListPages as we would default to using collection_url_key in generated list resources but due to the generation not including the fallback an explicit change to collection_url_key -> items was often necessary

See Write release notes for guidance.


Derived from GoogleCloudPlatform/magic-modules#17371

…371)

[upstream:b341eab546b69c25c699b3890a1e3f88d893bfc3]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit d06d83e into hashicorp:main May 4, 2026
3 checks passed
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