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 omitempty for Conditions in VPCNetworkConfigurationStatus #712

Conversation

heypnus
Copy link
Contributor

@heypnus heypnus commented Aug 21, 2024

Otherwise, the NSX operator cannot update the status for non-system VPC because in that kind of VPC, its vpcnetworkconfiguration doesn't have the conditions and the NSX operator will report the following error:

"VPCNetworkConfiguration.crd.nsx.vmware.com "xxx" is invalid: conditions: Required value"

(cherry picked from commit e78eb0b)

Otherwise, the NSX operator cannot update the status for non-system
VPC because in that kind of VPC, its vpcnetworkconfiguration doesn't
have the conditions and the NSX operator will report the following
error:

"VPCNetworkConfiguration.crd.nsx.vmware.com \"xxx\" is invalid:
conditions: Required value"

(cherry picked from commit e78eb0b)
@heypnus heypnus closed this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants