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

Protect casting against nil conversion #1552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Feb 24, 2025

Empty block is represeted in schema by slice of size 1 with nil value. Wherever empty block is allowed (no required attributes), we should protect against nil values in slice.

Empty block is represeted in schema by slice of size 1 with
nil value. Wherever empty block is allowed (no required attributes),
we should protect against nil values in slice.

Signed-off-by: Anna Khmelnitsky <[email protected]>
@annakhm annakhm force-pushed the protect-empty-block branch from ebcc887 to 67d4bc4 Compare February 25, 2025 00:17
@annakhm
Copy link
Collaborator Author

annakhm commented Feb 25, 2025

/test-all

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.

NSXT Terraform provider crashes when trying to add nsxt_policy_intrusion_service_profile
2 participants