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

cast String value to an Integer: sysprep-timeout #246

Merged
merged 1 commit into from Apr 14, 2016
Merged

cast String value to an Integer: sysprep-timeout #246

merged 1 commit into from Apr 14, 2016

Conversation

ghost
Copy link

@ghost ghost commented Apr 14, 2016

When passing in a value for --sysprep-timeout, vsphere_vm_clone.rb does not cast to a number. The comparison at customization_helper.rb:24 then fails, as the value for 'timeout' is a String, not an Integer.

@swalberg
Copy link
Collaborator

Thanks for fixing that, Drew!

@swalberg swalberg merged commit fba2103 into chef:master Apr 14, 2016
@ghost ghost deleted the vmclone_sysprep_integer branch May 11, 2016 21:02
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.

None yet

2 participants