Skip to content

Conversation

@copybara-service
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