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

Change bool -> *bool in types.GuestCustomizationSection #291

Merged
merged 8 commits into from
Mar 5, 2020

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Mar 1, 2020

In order to solve https://github.com/terraform-providers/terraform-provider-vcd/issues/303 and other problems it is better to have *bool instead of bool types (to distinguish between 0 and nil values).

This PR aims to solve just that and also deprecates some functions which are not technically correct.

Test suite passed on 9.5

@Didainius Didainius added the enhancement New feature or request label Mar 1, 2020
@Didainius Didainius self-assigned this Mar 1, 2020
govcd/vm.go Show resolved Hide resolved
govcd/vapp.go Show resolved Hide resolved
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

One polish and LGTM!

govcd/vm.go Outdated
@@ -445,6 +445,9 @@ func (vm *VM) BlockWhileGuestCustomizationStatus(unwantedStatus string, timeOutA
}
}

// Customize function allows to set computername, apply customization script and enable or disble the changeSid option
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe:

Suggested change
// Customize function allows to set computername, apply customization script and enable or disble the changeSid option
// Customize function allows to set ComputerName, apply customization script and enable or disable the changeSid option

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

@vbauzys vbauzys left a comment

Choose a reason for hiding this comment

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

LGTM, just needs conflicts to be solved

Copy link
Contributor

@dataclouder dataclouder left a comment

Choose a reason for hiding this comment

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

LGTM

@Didainius Didainius merged commit c691d5c into vmware:master Mar 5, 2020
@Didainius Didainius deleted the change-sid branch March 5, 2020 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants