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

adding vm clone resource #452

Open
wants to merge 8 commits into
base: feat/1.6.0
Choose a base branch
from

Conversation

Abhishekism9450
Copy link
Contributor

@Abhishekism9450 Abhishekism9450 commented May 20, 2022

Adding Virtual Machine Clone Resource.

nutanix/resource_nutanix_virtual_machine_clone.go Outdated Show resolved Hide resolved
nutanix/resource_nutanix_virtual_machine_clone.go Outdated Show resolved Hide resolved
nutanix/resource_nutanix_virtual_machine_clone.go Outdated Show resolved Hide resolved
if v, ok := d.GetOk("guest_customization_is_overridable"); ok {
guestCustom.IsOverridable = utils.BoolPtr(v.(bool))
}
if v, ok := d.GetOk("guest_customization_sysprep"); ok {
Copy link
Contributor

Choose a reason for hiding this comment

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

Most of it is duplicate code. We can reuse existing funcs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reusing existing funcs will be cause spec to add more attributes which aren't required by clone payload.

@abhimutant abhimutant changed the base branch from master to feat/1.6.0 June 9, 2022 06:14
@abhimutant
Copy link
Collaborator

abhimutant commented Jun 13, 2022

/ok-to-test pc

Acceptance test run status: failure
Current line coverage (0.0) is below threshold (50). Kindly add more acceptance tests.

@abhimutant
Copy link
Collaborator

abhimutant commented Jun 13, 2022

/ok-to-test pc

Acceptance test run status: failure
Current line coverage (0.0) is below threshold (50). Kindly add more acceptance tests.

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.

3 participants