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

Add custom update to update metadata in a separate call #7675

Conversation

modular-magician
Copy link
Collaborator

This pull request make a custom 'updateIndex' method. Since if index.metadata need to update, not other index fields can be also updated as part of the same update call. So we need to make a separate update call for index.metadata.

index_update: fixed pre-update use unsupported nested updatemask "metadata.contentsDeltaUri". Use first layer update mask and update "metadata" field in a separate call.

Derived from GoogleCloudPlatform/magic-modules#11081

[upstream:f53dfd68dbce629a86360a7785bc0aa20a78647d]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit f02b3d3 into hashicorp:main Jul 2, 2024
2 checks passed
@modular-magician modular-magician deleted the downstream-pr-f53dfd68dbce629a86360a7785bc0aa20a78647d branch November 16, 2024 04:59
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