Skip to content

Correct updated return value in UpdateVolumeAnnotations. #11771

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

copybara-service[bot]
Copy link

Correct updated return value in UpdateVolumeAnnotations.

UpdateVolumeAnnotations was returning updated = true even when a
mount type was already correct. This avoids unnecessarily overwriting the spec
when there are no changes. Also simplify tests.

@copybara-service copybara-service bot added the exported Issue was exported automatically label May 29, 2025
@copybara-service copybara-service bot force-pushed the test/cl764585815 branch 3 times, most recently from b74d2f4 to d68bf8f Compare June 3, 2025 16:32
`UpdateVolumeAnnotations` was returning `updated = true` even when a
mount type was already correct. This avoids unnecessarily overwriting the spec
when there are no changes. Also simplify tests.

PiperOrigin-RevId: 766710817
@copybara-service copybara-service bot merged commit 526bc40 into master Jun 3, 2025
@copybara-service copybara-service bot deleted the test/cl764585815 branch June 3, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant