Skip to content

compute: remove compute library usage from resource_compute_instance_group#17665

Draft
GitOleksandrBokov wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
GitOleksandrBokov:remove-compute-lib-from-instance-group
Draft

compute: remove compute library usage from resource_compute_instance_group#17665
GitOleksandrBokov wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
GitOleksandrBokov:remove-compute-lib-from-instance-group

Conversation

@GitOleksandrBokov
Copy link
Copy Markdown
Contributor

Removes the remaining google.golang.org/api/compute usage from resource_compute_instance_group.go.tmpl, completing its move off the Apiary client.

The Read path now flattens named ports directly from the transport_tpg.SendRequest response map instead of round-tripping through compute.NamedPort; flattenNamedPorts now takes the raw response value. No behavior change — CRUD already used SendRequest; only the residual compute.NamedPort type usage is removed.

…group

Flatten named ports directly from the SendRequest response map instead of round-tripping through compute.NamedPort, dropping the google.golang.org/api/compute import.
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants