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 check for cluster_reference before set to avoid it in case of overlay subnets in datasource nutanix_subnet #328

Conversation

bhati-pradeep
Copy link
Collaborator

@bhati-pradeep bhati-pradeep commented Jan 28, 2022

For overlay subnets, there is no cluster_reference field in response. So added a check before setting "cluster_reference_name"

@bhati-pradeep bhati-pradeep changed the title add check for cluster_reference before set to avoid it in case of overlay subnets Add check for cluster_reference before set to avoid it in case of overlay subnets in datasource nutanix_subnet Jan 28, 2022
@siddharth-kulshrestha
Copy link
Contributor

/ok-to-test

@siddharth-nutanix
Copy link
Collaborator

siddharth-nutanix commented Feb 2, 2022

/ok-to-test

Acceptance test run status: failure

@bhati-pradeep bhati-pradeep force-pushed the bugfix/fix-308-datasource-query-overlay-subnet branch from cd880c5 to b2d1093 Compare February 8, 2022 18:49
@bhati-pradeep
Copy link
Collaborator Author

bhati-pradeep commented Feb 8, 2022

/ok-to-test

Acceptance test run status: success
Line code coverage is 60.2

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.

Provider plugin crashes when nutanix_subnet datasource queried with overlay subnet
3 participants