Skip to content

Fixed Clone VM sample which constructs invalid Clonespec when making default choice for missing parameters#610

Open
kumahesh wants to merge 1 commit intovmware:masterfrom
kumahesh:fix_clone_vm
Open

Fixed Clone VM sample which constructs invalid Clonespec when making default choice for missing parameters#610
kumahesh wants to merge 1 commit intovmware:masterfrom
kumahesh:fix_clone_vm

Conversation

@kumahesh
Copy link
Copy Markdown
Contributor

@kumahesh kumahesh commented Oct 4, 2019

Cloning vm from template failed. The sample constructs Clonespec by taking parameters from user input. If resource pool is not specified by user, It makes default choice by returning first resourcepool object under root folder. This default choice might belong to different datacenter than the one specified by user. To avoid this issue, it should search for default choice under datacenter, instead of searching root folder.

@kumahesh
Copy link
Copy Markdown
Contributor Author

kumahesh commented Oct 4, 2019

In response to 699

@kumahesh kumahesh closed this Oct 4, 2019
@kumahesh kumahesh reopened this Oct 4, 2019
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.

1 participant