Skip to content

undo IsZero check for PVC storage size#1928

Merged
AndrewChubatiuk merged 1 commit intomasterfrom
revert-zero-storage-check
Mar 4, 2026
Merged

undo IsZero check for PVC storage size#1928
AndrewChubatiuk merged 1 commit intomasterfrom
revert-zero-storage-check

Conversation

@AndrewChubatiuk
Copy link
Contributor

@AndrewChubatiuk AndrewChubatiuk commented Mar 4, 2026

expected isZero covers nil, but it doesn't, reverting this change


Summary by cubic

Switch PVC storage size check from IsZero() to a nil check. Prevents a nil dereference and safely skips PVC updates when storage requests are missing.

Written for commit e3b21a5. Summary will update on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@AndrewChubatiuk AndrewChubatiuk merged commit 132d0cb into master Mar 4, 2026
6 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the revert-zero-storage-check branch March 4, 2026 15:51
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.

2 participants