Skip to content

Commit

Permalink
Fixup docs and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-rich committed Jan 24, 2020
1 parent 74db94d commit 3222100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vsphere/resource_vsphere_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ func resourceVSphereVirtualMachineRead(d *schema.ResourceData, meta interface{})
if err := flattenVirtualMachineConfigInfo(d, vprops.Config); err != nil {
return fmt.Errorf("error reading virtual machine configuration: %s", err)
}

// Read the VM Home storage policy if associated
polID, err := spbm.PolicyIDByVirtualMachine(client, moid)
if err != nil {
Expand Down
4 changes: 3 additions & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ will no longer need them.
* `vim_session_path` - (Optional) The direcotry to save the VIM SOAP API
session to. Default: `${HOME}/.govmomi/sessions`. Can also be specified by
the `VSPHERE_VIM_SESSION_PATH` environment variable.
* `rest_session_path` - Deprecated
* `rest_session_path` - The directory to save the REST API session to.
Default: `${HOME}/.govmomi/rest_sessions`. Can also be specified by the
`VSPHERE_REST_SESSION_PATH` environment variable.

#### govc/Terraform session interoperability

Expand Down

0 comments on commit 3222100

Please sign in to comment.